Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

background:picture.gif in div using NN

Status
Not open for further replies.

avivit

Technical User
Jul 5, 2000
456
IL
In the following css code, the line "background:picture.gif;" does not
function using NN. If unstead I use background-color:yellow it functions great,
but I don't need it. I nned a picture. Does anyone know how to fix it?
<html>
<head>
<title>Untitled</title>
<style type=&quot;text/css&quot;>
.submenu
{position: absolute;
left: 20px;
width: 140px;
border: none;
background:picture.gif;
layer-background-color: black;
}
</style>
</head>
<body>
<div class=&quot;submenu&quot; style=&quot;top: 20px&quot;>
I need an img background here
</div>
</body>
</html>
 
i dont know if devedge will tell you what css netscape does support, i'd check, but my connection slooooooooo but, i'd look there, they probably have some sort of alternative. adam@aauser.com
 
Thanks luciddream (adam?),
In the mean time I got an answer to my question.
Should be:

background-image:url('pictureName.gif')

Now I &quot;earned&quot; devedge site from you, which I should have known about,but I have not.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top