Here is the site if you want to look at it http://malk0lm.110mb.com. What I am trying to figure out is how to get the navbar to render properly in both IE and FF. If you look at it in IE there is no additional dark line at the bottom of the toolbar. Also with IE the nav bar covers 100% of the width where in FF it covers more then 100% because you cant see the right side end cap graphic.
Here is the markup:
[CODE=html]<div id="masthead">
<h1 id="siteName">D ear James</h1>
<div id="globalNav"> <img src="protected/img/gblnav_left.gif " alt="" name="gnl" width="5" height="32" id="gnl" /> <img alt="" src="protected/img/glbnav_right.gi f" height="32" width="5" id="gnr" />
<a href="http://malk0lm.110mb.c om/" class="glink" >Home</a><a href="#" class="glink">N one</a></div>
</div>
<!-- end masthead -->[/CODE]
The CSS:
[CODE=css]
#globalNav img{
display: block;
margin-bottom: 0px;
z-index: 2;
}
#globalNav a {
font-size: 90%;
}
a.glink, a.glink:visited {
font-size: small;
color: #000000;
font-weight: bold;
margin: 0px;
padding: 2px 5px 4px 5px;
border-right: 1px solid #8FB8BC;
}
a.glink:hover{
background-image: url(img/glblnav_selecte d.gif);
text-decoration: none;
}
#gnl {
position: absolute;
top: 0px;
left:0px;
}
#gnr {
position: absolute;
top: 0px;
right:0px;
}
#globalNav{
color: #cccccc;
padding: 6px 6px 0px 6px;
white-space: nowrap;
position: relative;
width: 100%;
min-width: 640px;
height: 32px;
color: #cccccc;
background-image: url(img/glbnav_backgrou nd.gif);
}
#masthead{
margin: 0;
padding: 10px 0px 10px 0px;
border-bottom: 1px solid #cccccc;
width: 100%;
}
[/CODE]
Here is the markup:
[CODE=html]<div id="masthead">
<h1 id="siteName">D ear James</h1>
<div id="globalNav"> <img src="protected/img/gblnav_left.gif " alt="" name="gnl" width="5" height="32" id="gnl" /> <img alt="" src="protected/img/glbnav_right.gi f" height="32" width="5" id="gnr" />
<a href="http://malk0lm.110mb.c om/" class="glink" >Home</a><a href="#" class="glink">N one</a></div>
</div>
<!-- end masthead -->[/CODE]
The CSS:
[CODE=css]
#globalNav img{
display: block;
margin-bottom: 0px;
z-index: 2;
}
#globalNav a {
font-size: 90%;
}
a.glink, a.glink:visited {
font-size: small;
color: #000000;
font-weight: bold;
margin: 0px;
padding: 2px 5px 4px 5px;
border-right: 1px solid #8FB8BC;
}
a.glink:hover{
background-image: url(img/glblnav_selecte d.gif);
text-decoration: none;
}
#gnl {
position: absolute;
top: 0px;
left:0px;
}
#gnr {
position: absolute;
top: 0px;
right:0px;
}
#globalNav{
color: #cccccc;
padding: 6px 6px 0px 6px;
white-space: nowrap;
position: relative;
width: 100%;
min-width: 640px;
height: 32px;
color: #cccccc;
background-image: url(img/glbnav_backgrou nd.gif);
}
#masthead{
margin: 0;
padding: 10px 0px 10px 0px;
border-bottom: 1px solid #cccccc;
width: 100%;
}
[/CODE]
Comment