<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Home Page</title>
<!--[if IE 6]>
<style#navlist a { height: 1em; } </style>
<![endif]-->
</head>
Is the [ if / else ] statement above JavaScript? If not, what kind of script is
it?
The problem this solves is border spacing - IE will render differently than FF -
when using a list like this:
<div id="navlist">
<ul>
<li><a href="index.html">Home Page</a>
<li><a href="index.html">Menu Item 01</a>
<li><a href="index.html">Menu Item 02</a>
<li><a href="index.html">Menu Item 03</a>
<li><a href="index.html">Contact Us</a>
</ul>
</div>
Here is the CSS for the navlist:
#navlist a {
background-color:none;
display:block;
padding:8px 2px 8px 10px;
border-style:none none solid;
border-width:medium medium 1px;
border-color:#333333;
}
#navlist {
width:120px;
margin-bottom:20px;
}
#navlist ul {
margin:0;
padding:0;
list-style-type:none;
}
#navlist li {
margin:0;
}
Where can I learn more about the type of script used in my example?