Hello Mike,
I'm sorry I forgot about this thread. I worked out a quick fix, it seems to work fine in IE6, Firefox1 and Opera 754. Those are the only browser I currently have installed so I can't say how it will display in other browsers. Change #leftnav to;
Code:
#leftnav {
float: left;
width: 210px;
margin-top: -1.1em !important;/*opera*/
margin: 0;/*IE*/
}
head:first-child+body #leftnav {
margin-top: -1.45em !important;/*Firefox*/
}
THis worked great for all except in IE it canceled out the left margin for #leftnavinner so I changed it to;
Code:
#leftnavinner {
width:190px;
margin: 0 10px 0 25px;
padding: 0;
border-right: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
border-left: 1px solid #FFFFFF;
background: #cbd6e5;
}
Can't think of why it fixed it but it did.
If you have any questions making these changes let me know.
Cheers,
Starsunited, this is a huge question, the first thing I would recommend is adding in a doctype, however until I see the code I don't know which one you need. The wrong doctype can render even worse results than none at all. Once you have declared the correct doctype you can than begin walking through the validation process for your x/html.
If you only want to validate css you can upload your file here. This will allow you to check your stylesheet out side of your site.
As I said this is a huge topic and difficult for me to know where to begin as I'm no master. Many people doubt the merit of validating and find it to be uneccessary. I have not been able to make much of this argument from either side however, I have only seen few occasions where completly valid code was not possible. I would recommend continuing gathering information and learning more about this subject as valid compliant code can do you no harm.
If you have not done so yet, I would also recommend downloading Firefox and the web developer tools extension. This combination makes validating your code very easy.
I hope this was helpful
Cheers,
__________________
[size=2] Please login or register to view this content. Registration is FREE - Webhosting - Focusing on quality service
Last edited by faze1; 01-28-2005 at 05:57 AM..
|