GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   fast CSS question (https://gfy.com/showthread.php?t=486653)

Zester 06-29-2005 12:23 PM

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;}
?

broke 06-29-2005 12:26 PM

Text-decoration gives you five options: underline, overline, line-through, blink, or none.

Zester 06-29-2005 12:30 PM

Quote:

Originally Posted by broke
Text-decoration gives you five options: underline, overline, line-through, blink, or none.

so how is it done than ?

Tom_PM 06-29-2005 12:30 PM

http://www.htmlhelp.com/reference/css/properties.html

Tom_PM 06-29-2005 12:32 PM

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.

Zester 06-29-2005 12:41 PM

Code:

a:hover{
border-bottom-style:dotted;
border-bottom-width: 1px;
}


Tom_PM 06-29-2005 12:42 PM

Well there ya go. Bookmark that CSS help page. It's a handy old one.


All times are GMT -7. The time now is 03:18 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123