Help - Search - Members - Calendar
Full Version: Rollover Table?
HTMLHelp Forums > Web Authoring > Cascading Style Sheets
LuthienMoss
Check this out; http://gallery.saranya.net/ when hovering one of the two thumbnails, the whole background table (if it's a table) changes colour. I wonder how I can achieve something like that? I tried somethign like this but without further success.


QUOTE
<table width="100%" align="center">
<tr>
<td width="50%">
<a href="#">Milk</a></li>
<a href="arc">Nature<br /></a>
</li>

</td>

<td width="50%">
<li><li><a href="#">Milk</a></li>
<a href="arc">Nature<br /></a>
</li>
</td>

</tr>
<tr>

<td width="50%" class="mango">
<li><a href="#">Milk</a></li><LI> <a href="misc">Miscellany</A><BR>
</td>

<td width="50%" class="mango"><li><a href="#">Milk</a></li>
<LI> <a href="misc">Miscellany</A><BR>
</td>

</tr>
</nav>
Darin McGrew
That site is using CSS. Basically, they're styling the links inside the <ul id="extended">, using the normal a:link, a:visited, a:hover, etc. pseudo-classes.
LuthienMoss
huh? You have to speak to me as if I'm completely stupid.

So how would a code for that look like? I almost never use UL
Frederiek
We don't treat people as stupid here.
Just go see Listamatic and learn from it.
Darin McGrew
Please see the FAQ entries Where can I learn about HTML? and Where can I learn about CSS?
LuthienMoss
Hey, thanks for that link Frederiek, it's a great site and I managed achieve what I wanted. smile.gif Issue solved!
Frederiek
Your welcome smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.