problem creating css rollover effect!


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');
}
 
Ad

Advertisements

L

Luis Roquette Valdez

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top