Make a gap in CSS border

Discussion in 'Web Design and Development' started by JackT06, Feb 21, 2011.

  1. JackT06 macrumors 6502

    JackT06

    Joined:
    Jul 24, 2009
    #1
    Hello,

    Does anyone know a way that i can make a gap in the border...

    I want to create a 3px gap in top and bottom of the Right Nav Left Border line..

    This is so that it won't touch the other borders.

    How do i do that in CSS?
     

    Attached Files:

  2. Xenc macrumors 6502a

    Xenc

    Joined:
    May 8, 2010
    Location:
    London, England
    #2
    Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-gb) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5)

    You may want to explore the "margin" and "padding" properties. Margin is spacing outside the container, padding is inside.
     

Share This Page