OK, now I've made a discovery. I used http://validator.w3.org/ and discovered that I was missing a DTD.
Now I find that when I add:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
the left hand menu is messed up in IE exactly the same a in FF.
I really don't want to have to fall back on my tables. If anyone can help me sort of the left hand menu using css I really would be most grateful.
Here is the code:
Code:
<div class="menuleft">
<a class="menul" href="index.htm">HOME</a>
</div>
<div class="menuleft">
<a class="menul" href="prices.htm">PRICES</a>
</div>
<div class="menuleft">
<a class="menul" href="contact.htm">CONTACT</a>
</div>
<div class="menuleft">
<a class="menul" href="faq.htm">FAQ</a>
</div>
CSS:
Code:
.menuleft {margin-bottom: 0px;
margin-top:20px;}
A.menul:link {text-decoration:none; padding:15px 0px; margin:0; height:51px; width:100px;
background-image: url("button100.gif");
background-color: transparent;
background-repeat: no-repeat;
font-weight: normal;
letter-spacing: 2px; font-size:10pt; font-family: verdana, arial; color:#404040}
A.menul:visited {text-decoration:none; padding:15px 0px; margin:0; height:51px; width:100px;
background-image: url("button100.gif");
background-color: transparent;
background-repeat: no-repeat;
font-weight: normal;
letter-spacing: 2px; font-size:10pt; font-family: verdana, arial; color:#404040}
A.menul:hover {text-decoration:none; padding:15px 0px; margin:0; height:51px; width:100px; background-image: url('button100.gif'); font-weight: normal; letter-spacing: 2px; font-size:10pt; font-family: verdana, arial; color:#404040}
Thanks,
Rob
Bookmarks