Hi guys.
I'm completely new to web design and development, but have been tasked with creating a passable website for a new venture. I've done the whole thing by hand, which might have been a bit foolhardy. The result is a website that looks okay on the system I'm using, but is pretty temperamental with lower resolutions and the sinful IE.
There's a page - http://buddingpress.co.uk/publish - which has some coloured banners. I've coded up a little hack that highlights them on mouseover, and they each link out to another page. Issue is that they don't work at all on IE. I understand that it was probably my own fault to create some coding without thinking about standards. How should I repair this?
Here's the on-page HTML:
And here's the relevant CSS:
As a PS, the textbox that pops up when you click the bottom link on that page is positioned really bizarrely. Do you know a fix for that, too?
Thank you muchly.
I'm completely new to web design and development, but have been tasked with creating a passable website for a new venture. I've done the whole thing by hand, which might have been a bit foolhardy. The result is a website that looks okay on the system I'm using, but is pretty temperamental with lower resolutions and the sinful IE.
There's a page - http://buddingpress.co.uk/publish - which has some coloured banners. I've coded up a little hack that highlights them on mouseover, and they each link out to another page. Issue is that they don't work at all on IE. I understand that it was probably my own fault to create some coding without thinking about standards. How should I repair this?
Here's the on-page HTML:
Code:
<a href="/publish/picture-book/options.html" class="highlightit" title="blah"> <div class="publish-box" id="publish-childrens"> <img src="/images/white.gif" height="100%" width="100%"> </div> </a>
Code:
.highlightit img {
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20);
opacity: 0.2;
}
.highlightit:hover img {
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
opacity: 0;
}
.publish-box {
border:2px solid gray;
width:650px;
margin:20px 0;
border:1px solid #bcbcbc;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
height:168px;
box-shadow: 0 5px 5px -3px #999999;
-moz-box-shadow: 0 5px 5px -3px #999999;
-webkit-box-shadow: 0px 3px 5px #999999;
overflow:hidden
}
#publish-childrens { background-image:url('images/publish-childrens.jpg') }
Thank you muchly.
Comment