Obsidian
01-07-2006, 10:40 PM
Hey, I'm trying to make a link that will have a transparent background when you don't hover over it, and a colored background when you do. But the colored background has to span the entire width of the page; when you just do:
a: hover {background-color: blah}
it only colors the area where the text is. I guess the effect I want is kind of similar to something in the program Winamp--when you select a file to play, the colored background spans the entire width of the playlist, regardless of size. BUT the text shouldn't be abnormally spaced out to span the entire width of the page too, like T H I S or whatever.
So... how do I do that?
Heh, sorry this post is so long. I've always just been a "wordy" person. *sheepish* (And thanks in advance to anyone who responds! Actually, just thanks to anyone who had the patience to read through all that! :D)
a: hover {background-color: blah}
it only colors the area where the text is. I guess the effect I want is kind of similar to something in the program Winamp--when you select a file to play, the colored background spans the entire width of the playlist, regardless of size. BUT the text shouldn't be abnormally spaced out to span the entire width of the page too, like T H I S or whatever.
So... how do I do that?
Heh, sorry this post is so long. I've always just been a "wordy" person. *sheepish* (And thanks in advance to anyone who responds! Actually, just thanks to anyone who had the patience to read through all that! :D)