New to web development so bare with me....
I created a lovely header which is coded into all of my pages using:
<?php include("header.php"); ?>
I of course also have a style sheet in the head of every page that styles the header.
Looks great in FF but the navigation buttons do not align properly in IE (I use IE7 specifically, have not looked at it in other versions yet). In order to make it look good in IE, I must remove the padding-top from the following code in my css:
#nav {
height: 76px;
width: 1024px;
padding-top: 220px;
padding-left: 5px;
}
And I also must add the div class=clear code to my header.php:
So, how do I use these codes for IE and still get it work in other browsers. I know about conditional comments but can I use them for css and my header.php at the same time? Or is there a simpler way?
Thanks a million, I am beyond frustration!