fast CSS question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zester
    Confirmed User
    • Jul 2003
    • 5344

    #1

    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;}
    ?
    * Mainstream ? $65 per sale
    * new male contraception
  • broke
    Confirmed User
    • Aug 2003
    • 4501

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

    Comment

    • Zester
      Confirmed User
      • Jul 2003
      • 5344

      #3
      Originally posted by broke
      Text-decoration gives you five options: underline, overline, line-through, blink, or none.
      so how is it done than ?
      * Mainstream ? $65 per sale
      * new male contraception

      Comment

      • Tom_PM
        Porn Meister
        • Feb 2005
        • 16443

        #4
        http://www.htmlhelp.com/reference/css/properties.html
        43-922-863 Shut up and play your guitar.

        Comment

        • Tom_PM
          Porn Meister
          • Feb 2005
          • 16443

          #5
          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.
          Last edited by Tom_PM; 06-29-2005, 11:34 AM.
          43-922-863 Shut up and play your guitar.

          Comment

          • Zester
            Confirmed User
            • Jul 2003
            • 5344

            #6
            Code:
            a:hover{
            border-bottom-style:dotted;
            border-bottom-width: 1px;
            }
            * Mainstream ? $65 per sale
            * new male contraception

            Comment

            • Tom_PM
              Porn Meister
              • Feb 2005
              • 16443

              #7
              Well there ya go. Bookmark that CSS help page. It's a handy old one.
              43-922-863 Shut up and play your guitar.

              Comment

              Working...