Something like margin or padding except where background doesn't draw

havard

New Member
Is there something that will do what \[code\]margin\[/code\] does but without the background drawing in that area? For instance, when you give an element \[code\]margin: 1em\[/code\] you get a \[code\]1em\[/code\] border of blank space around the element, but the background draws in that area. Is there something similar to that except where the background doesn't draw?My problem is I'm trying to put something below three \[code\]float: left\[/code\]ed \[code\]div\[/code\]s and right now I can't get any spacing between that and the \[code\]float\[/code\]ed divs above it. They just abut directly against each other. The \[code\]div\[/code\] that is going below the \[code\]float: left\[/code\]ed \[code\]div\[/code\]s has the property \[code\]clear: both\[/code\]. If there was something that made that \[code\]div\[/code\] have space between it and that \[code\]float\[/code\]ed \[code\]div\[/code\] above it then that would work too.
 
Top