| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
+
Join Date: May 2005
Location: Tropical Networks
Posts: 1,426
|
simple list headache
hello, I drop a line to you guys before I turn completely crazy. I've got a list of links, let's say 200px width. text height is 12px, and every link has it's own width (text width) I have a background color under every link. ok Now I want the color background to be 36 px high, with text centered in the middle of this block. When the link is hovered, I want the bacground to be of 200px width. simple ? I just can't get it working... I made an image as my english is as weak as my coding skills. Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
|
|
|
|
|
|
#4 (permalink) |
|
+
Join Date: May 2005
Location: Tropical Networks
Posts: 1,426
|
HTML HTML Code:
HTML Code:
nothing special really... Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
|
|
|
|
#6 (permalink) | |
|
+
Join Date: May 2005
Location: Tropical Networks
Posts: 1,426
|
Quote:
sorry, I posted the code before I saw your post. I've tried your way. It does not work... Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
|
|
|
|
|
#10 (permalink) |
|
goober :-)
|
Ok, so you've closed the topic, but I've revies my code now that I've had a chance to play with it - It works now just fine, at least on IE7 and FF (havent got ie6 here so cant test that one for you, but you can do a workaround if something is wrong on that one) Here's my example: Code:
Hope that helps man David PS sorry about the shoddy css formatting... I was just getting it done quickly... I'm sure you can rearrange it till you're happy with it My signature sucks.
|
|
|
|
#11 (permalink) | |
|
misanthrope
Join Date: Jan 2005
Posts: 12,274
|
display: block; AND float: left; That's redundant. Float left looks unnecessary to me. Quote:
|
|
|
|
|
#13 (permalink) | |
|
+
Join Date: May 2005
Location: Tropical Networks
Posts: 1,426
|
Quote:
yes ! I wanted to have the same effect, wether the image shows or not. how crazy I am... the topic was closed as I solved the problem another way ! anyway, thanks for your efforts djeglin. this can be usefull, this effect can be quite nice if used in appropriate way. Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
|
|
|
![]() |