problem creating css rollover effect!

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

hi

asp.net 2.0

the problem is that no image is displayed. I thought atleast an image should
be displayed represeting the item1 link, but nohting is displayed

what I do wrong?

<div class="menu">
<ul>
<li id="item1"><a href="../Pages/Default.aspx"></a></li>
<li id="item2"><a href="../Pages/Default2.aspx"></a></li>
</ul>
</div>

..menu ul
{
list-style:none;
margin:0;
padding:0;
}

..menu ul li
{
float:left;
margin:0;
padding:0;
}

..menu ul li#item1 a
{
background-image: url('../Images/Original/test.png');
}
 
Hi there Jeff,

I'm sorry... but I think it is literally due to a lack of attention...
I got it to work nice in Firefox 3.0.7...
What I think it might be is that your css styles all have ".." instead of
"." in front of them...

Might that be the problem?

cheers
 
Back
Top