CSS - Hover underline thickness

Modeps

Lifer
Oct 24, 2000
17,254
44
91
a {
border-bottom: solid 1px black;
}
a:hover {
border-bottom: solid 5px black;
}
 

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
nope, doesnt do it. It's not thick enough


.menu a:hover {
font-family: arial, "ms sans serif", sans-serif;
font-size: 13px;
text-decoration: none;
border-bottom: solid 5px black;
}

link to my site
 

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
Originally posted by: Modeps
Caching issue perhaps? :)

y'welcome

nah ... for some reason I used the wrong code.

<span class=menu>

when i should've used <div class=menu>

Any idea as to how to put the red horizontal line all the way up top?
 

fs5

Lifer
Jun 10, 2000
11,774
1
0
don't let your clients see this post.

I wouldn't want to hire a web design company that doesn't have basic css skills.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: fs5
don't let your clients see this post.

I wouldn't want to hire a web design company that doesn't have basic css skills.

Most clients don't even know that CSS exists, they just want the page to look right when they open it up.