I have some pictures with a H1 tag right below them. Heres my code:
Code:
#buttons
{
background: url(images/bg.gif) repeat-y center;
margin: -1% auto 0 0;
}
/*the -1% was added because of a 4px gap in between header and the buttons; */
h1
{
font: 20px/5px "Times New Roman", Georgia, serif;
text-align: center;
padding-top: 3%;
margin-bottom: 7%;
backgound: url(images/bg.gif) repeat-y center;
}
<div id="buttons">
<img src="http://www.webmaster-talk.com/images/nav-home.gif" alt="home" />
<a href="legacy.htm"><img src="http://www.webmaster-talk.com/images/nav-legacy.gif" alt="legacy" /></a>
<a href="downloads.htm"><img src="http://www.webmaster-talk.com/images/nav-downloads.gif" alt="downloads" /></a>
<a href="contact.htm"><img src="http://www.webmaster-talk.com/images/nav-contact.gif" alt="contact" /></a>
</div>
</div>
<div id="content">
<h1>The Voice of Calvary Legacy</h1>
the H1 is getting covered up. I tried the z-index and it didn't work. Help!!!
Thanks,
Carter
if it helps, here's the link voice of calvary legacy
Last edited by carterdea; 04-16-2006 at 06:40 PM..
|