hey! So I tried this but the code still shows up in IE 7. Are you sure this works there?
All the CSS pertaining to this section is kinda long so I just added it to the end…
Here’s the specific CSS I used:
div.banner {
margin: 0;
font-size:29px;
font-weight:bold;
line-height: 1.5;
text-align: right;
position: fixed;
top: 0px;
left: auto;
width: 797px;
hight:150px;
color: transparent;
border:none;
}
td>div.banner {
margin: 0;
font-size:29px;
font-weight:bold;
line-height: 1.5;
text-align: right;
position: fixed;
top: 0px;
left: auto;
width: 797px;
hight:150px;
color: transparent;
background-image:url(images/head.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position:0px 0px;
border:none;
}
And here’s a snipit of code it relates to:
<div class=“banner”>
<div class=“transparent”>
<p>
<a href=“…/index.htm”>Home</a>
<a href=“…/about.htm”>About</a>
<a href=“…/specials.htm”>Specials</a>
<a href=“…/Treatments.htm”>Treatments</a>
<a href=“…/store.htm”>Store</a>
</p>
<p2>
<a href="../appointment.htm">Make an Appointment!</a>
</p2>
</div>
I also tried body>div.banner{ for the CSS instead of td>div.banner, but that didn’t work either. I also tried turning them all into IDs rather than classes, but that REALLY didn’t work.
And here’s all the CSS for that section:
div.banner {
margin: 0;
font-size:29px;
font-weight:bold;
line-height: 1.5;
text-align: right;
position: fixed;
top: 0px;
left: auto;
width: 797px;
hight:150px;
color: transparent;
border:none;
}
td>div.banner {
margin: 0;
font-size:29px;
font-weight:bold;
line-height: 1.5;
text-align: right;
position: fixed;
top: 0px;
left: auto;
width: 797px;
hight:150px;
color: transparent;
background-image:url(images/head.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position:0px 0px;
border:none;
}
div.banner p {
margin: 30px 5px 10px ;
padding: 0;
font-family: Palatino Linotype, Book Antiqua3, Palatino6, serif;
background: transparent;
border:none;
font-style:italic;
}
div.banner p2 {
padding: 0;
font:Palatino Linotype, Book Antiqua3, Palatino6, serif;
background: transparent;
border:none;
font-style:italic;
}
div.transparent {
filter:alpha(opacity=100);
-moz-opacity:0.0;
-khtml-opacity: 0.0;
opacity: 0.0;}
div.banner a{ margin: 0 0 0 0 }
div.banner a{ border-top: 2px groove #900 }
div.banner a:first-child { border-top: none }
div.banner em { color: none; }
div.img{
border:none;
border-spacing:0;
padding:10px;
float:inherit;
}
oh, and in case you’re curious, yes, this is coding for a navbar, however kooky it might be. Also, the type is invisible so that you can see the graphic behind, which I didn’t end up wanting to slice.