[thelist] css help!!!!
joe
stowaway at uklinux.net
Sun Oct 5 03:34:50 CDT 2003
bruce wrote:
>
>+-------------------+
>| |
>| blah... |
>| blah1... |
>| |
>+-------------------+
>
>the rectangle would have a backgroung color, the text would be a color. as
>the user selects/hoovers over the text, the text color would change, etc....
>
>
Hi Bruce
something like this should achieve what you want:
<style>
#rectangle {
background-color: #220022;
width: 14em;
padding: 2em;
}
#rectangle a:visited {
color: #ddffee;
}
#rectangle a:hover {
color: #940000;
}
</style>
<div id="rectangle">
<p>
<a href="#">your text here</a>
</p>
</div>
hth
joe
More information about the thelist
mailing list