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 2 of 2

Thread: css borders

  1. #1
    Regular Coder
    Join Date
    Oct 2009
    Posts
    189
    Thanks
    38
    Thanked 3 Times in 3 Posts

    css borders

    In the below example:

    http://www.newegg.com/Laptops-Notebooks/Category/ID-223

    you can see that each of the products has a bottom border that doesn't span the full width of the box. In other words, the bottom border does not touch the right border. How is that achieved in CSS? How do you get it so the border doesn't span the full width or height of the containing box?

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,295
    Thanks
    10
    Thanked 282 Times in 281 Posts
    The dotted border on that page is a css background image, not a css border. It sits inside the padding area, and repeats horizontally.

    Do you have firebug? It's a great add-on to Firefox that allows you to examine pages easily.

    Dave


  •  

    Tags for this Thread

    Posting Permissions

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