Hi 

Try adding this selector
#header h1 a {
        display: none;
}

// Sebastian
www.dammark.net

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 12. december 2006 21:37
To: css-d@lists.css-discuss.org
Subject: [css-d] Using an Image in a H1 tag

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/

______________________________________________________________________
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/

Reply via email to