![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
fast CSS question
ok, how do I make a dotted line appear under a link when you move on it?
isn't it suppose to be: Code:
a:hover{text-decoration: dotted;} |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
Text-decoration gives you five options: underline, overline, line-through, blink, or none.
__________________
Perfect Gonzo |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
border-style:dotted should work.
Dots look different in IE than in Firefox. Firefox does them properly.. But it's a Box property. So you'd have to fake it out to make it appear as a dotted "underline" I think. By having the hover trigger a change in Box property for border bottom or whatever. Just a guess, I dunno for sure.
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 5,344
|
Code:
a:hover{ border-bottom-style:dotted; border-bottom-width: 1px; } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
Well there ya go. Bookmark that CSS help page. It's a handy old one.
__________________
43-922-863 Shut up and play your guitar. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |