Daar ben ik (helaas) weer.
Ik heb een vraag over css rollover buttons. Ze willen niet naast elkaar komen te staan. Zeg aan automatisch onder elkaar staan.
de code
index:
rollover.css:
edit: de link naar het voorbeeld http://rowanpreesman.nl/marklotterman/
Ik heb een vraag over css rollover buttons. Ze willen niet naast elkaar komen te staan. Zeg aan automatisch onder elkaar staan.
de code
index:
HTML:
<tr valign="top" id="nav"><td width="10"></td><td colspan="3" valign="top"><a href="#" class="home"> </a><img src="images/slash.gif"><a href="#" class="live"> </a></td><td width="10"></td></tr>
rollover.css:
Code:
a.home {
display: block;
width: 45px;
height: 22px;
background: url("/marklotterman/images/home.gif") 0 0 no-repeat;
text-decoration: none;
}
a:hover.home {
background-position: -45px 0;
}
a.live {
display: block;
width: 30px;
height: 22px;
background: url("/marklotterman/images/live.gif") 0 0 no-repeat;
text-decoration: none;
}
a:hover.live {
background-position: -30px 0;
}
edit: de link naar het voorbeeld http://rowanpreesman.nl/marklotterman/
Laatst bewerkt: