Mr. Clean <mr*****@protct orandgamble.com > writes:
I'd like to have a CSS rollover that is text only that LOOKS like
the two images.
The word Austin in Red and 28+ in blue on normal state and the
word Austin in blue and 28+ in red in the rollover state with
ONE link.
<a href="..." class="decor">A ustin <span>28+</span></a>
a.decor:link { color: #ff0000; background: #ffffff; }
a.decor:hover { color: #0000ff; background: #ffffff; }
a.decor:link span { color: #0000ff; background: #ffffff; }
a.decor:hover span { color: #ff0000; background: #ffffff; }
Similar properties needed for :visited.
There's various ways to get the line break in.
a.decor span { display: block; }
or
a.decor span:before { content: "\A"; }
or
put a <br> before the <span>
Browser support varies from option to option.
--
Chris