Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
IE covering up my H1 tag
Old 04-16-2006, 06:30 PM IE covering up my H1 tag
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
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..
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
 
Register now for full access!
Old 04-16-2006, 06:49 PM Re: IE covering up my H1 tag
Cypher_489's Avatar
Skilled Talker

Posts: 81
Name: Callum
Location: England
Trades: 0
Try putting this as part of your h1 CSS:

position: relative;
top: 2px;
__________________
Cypher_489


Please login or register to view this content. Registration is FREE
- Collection of tech tips, scripts and guides.
Please login or register to view this content. Registration is FREE
Cypher_489 is offline
Reply With Quote
View Public Profile Visit Cypher_489's homepage!
 
Old 04-16-2006, 06:56 PM Re: IE covering up my H1 tag
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
I don't like relative positioning. But I figured it out. I put the h1 tag outside of my div. Thanks for trying. That would have worked I just don't like relative positioning.
Carter
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
Old 04-17-2006, 05:31 PM Re: IE covering up my H1 tag
amygdela's Avatar
Super Talker

Posts: 111
Trades: 0
Why not? If used properly, they are quite a relief and an eye-opener in your approach to build a website.
__________________

Please login or register to view this content. Registration is FREE
amygdela is offline
Reply With Quote
View Public Profile
 
Old 04-17-2006, 07:09 PM Re: IE covering up my H1 tag
carterdea's Avatar
Ultra Talker

Posts: 353
Location: Arizona
Trades: 0
I agree but for this purpose, it wouldn't be good choice in my humble opinion. Sorry if I was mean.
carterdea is offline
Reply With Quote
View Public Profile Visit carterdea's homepage!
 
Reply     « Reply to IE covering up my H1 tag
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15412 seconds with 12 queries