Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7

Thread: dotted border

  1. #1
    Regular Coder
    Join Date
    Jan 2004
    Location
    Georgia
    Posts
    306
    Thanks
    0
    Thanked 0 Times in 0 Posts

    dotted border

    How do you have a dotted table border with CSS?

    example: netcraft.com
    example: letssingit.com
    ~Designer's Toolz~

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    <table border="0" style="border:1px dashed blue">
    Last edited by Mr J; 02-01-2004 at 06:57 PM.

  • #3
    Regular Coder
    Join Date
    Jan 2004
    Location
    Georgia
    Posts
    306
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks man. Works.
    ~Designer's Toolz~

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Dashed or dotted?

    Actually you can have a real dotted border as well:
    Code:
    border: 2px dotted blue;
    MSIE is said to not support dotted, but this is only true for 1px borders; 2px and up the dots appear fine (didn't figure that out myself, but forgot where I did see it).
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #5
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    I went to those example sites to have a look and they looked more like dashes than dots but then my old eyes might be on the blink, but yes you can have dotted as well


  • #6
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Dashed or dotted?

    Originally posted by ronaldb66
    Actually you can have a real dotted border as well:
    Code:
    border: 2px dotted blue;
    MSIE is said to not support dotted, but this is only true for 1px borders; 2px and up the dots appear fine (didn't figure that out myself, but forgot where I did see it).
    You probably seen Darcy Boucher's testing here.

    .....Willy

  • #7
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Bang on!

    Willy,

    you're absolutely right! Think it got linked to at some site or blog I regularly visit (Zeldman? WaSP? Oh, my poor head...).
    Regards,
    Ronald.
    ronaldvanderwijden.com


  •  

    Posting Permissions

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