Ahhh .....
You might wanna fix this in your markup:
<div id="header">
<h1><a href="index.php" title="Restaurant">Restaurant</a></h1>
</div>
I removed the <span> tags an a </a>
// Sebastian
www.dammark.net
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 12. december 2006 23:42
To: Sebastian Dammark
Subject: Re: [css-d] Using an Image in a H1 tag
Thanks, tried what you suggested but the text is still showing on top of the
graphic?
---------------------------------------------------
Hi
Try adding this selector
#header h1 a {
display: none;
}
------------
Hi
I am trying to use the following css to replace the <h1> text with the logo.gif
graphic, however the text 'Restaurant' is still appearing on top of the
logo.gif graphic?
What do I need to add to my css to get rid of this ?
#header h1{
height: 142px;
width: 292px;
float: left;
background-image: url(logo.gif);
background-repeat: no-repeat;
margin-top: 10px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 20px;
padding: 0px;
}
<div id="header">
<h1><a href="index.php" title="Restaurant"></a><span></span>Restaurant</a></h1>
</div>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/