Debt Consolidation - Flash Games - Myspace Layouts - Submit article - Payday Loan

PDA

View Full Version : Padding between divs...


NewComputer
Feb 8th 2005, 4:44 pm
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.

J.D.
Feb 8th 2005, 5:14 pm
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.It sounds that you really want margins, not padding. Padding is inside and margins are on the outside of an element.

J.D.