dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: a simple colored line

  1. #1
    Join Date
    Feb 2004
    Posts
    1,345

    a simple colored line

    how can I make a line like an HR in css which I can define his width, height and color?

    Thanks

  2. #2
    you need to put something on the page, you could do a div with width height and color, apart from that i don't know. why do you need it?

  3. #3
    Join Date
    Feb 2004
    Posts
    1,345

    just needed a simple line

    HR is better then div ot it doesn't matter?

  4. #4
    you can't set the color of hr (except IE)

  5. #5
    Join Date
    Feb 2004
    Posts
    1,345

    I understand...

    So I guess I'll use DIV

    Thanks man

  6. #6
    Join Date
    Nov 2002
    Posts
    2,632
    http://forums.webdeveloper.com/showt...color+%3Chr%3E

    The link posted also has a link to what I would consider a slightly outdated write up I did on the subject. You can also do a search here on "<hr> color" with threads that have me in them for even more info on this.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles