SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Apr 2002
    Posts
    281
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Horizontal Rule and CSS

    How can I change how the line of the <HR> looks with CSS? I want it to look dotted.

  2. #2
    SitePoint Wizard iTec's Avatar
    Join Date
    May 2001
    Location
    Sydney, Australia
    Posts
    2,243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ive gotten what your after but im not sure if there is a better way of doing it or not, but ill post what ive got and if anybody comes up with a better idea then i would take theres.

    hr { border-color: #000000;
    border-style: dotted;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 1px;
    border-left-width: 0px;
    color: #FFFFFF}

    You will need to change color to suit the background color.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •