1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Padding between divs...

Discussion in 'CSS' started by NewComputer, Feb 8, 2005.

Thread Status:
Not open for further replies.
  1. #1
    What is the correct coding for having three divs within a div, floating left, but then having say a 10px padding. I am having an outline around the three divs and want them to have a padding between them.
     
    NewComputer, Feb 8, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It sounds that you really want margins, not padding. Padding is inside and margins are on the outside of an element.

    J.D.
     
    J.D., Feb 8, 2005 IP
Thread Status:
Not open for further replies.