css pain in the arse!
css pain in the arse!
Out of context: Reply #3
- Started
- Last post
- 14 Responses
- Stugoo0
id start off by taking your idth of your p tags, you dont need the, jist set the padding on the div to push them in or padding on the p.
if your floating on ie6 then you should set display:inline too as there is apixel doubleing bug, but your not floating soooo...try using paddings! or a clearing div
set a padding class. say .pb20 { padding-bottom:20px;}
then do
<div > <p> content</p></div>
<div class="clear pb20"></div>
<div ><p>content</p></div>- but isnt the still a amrgin to the bottom of the p that pushed down?JamesBoynton
- sorry rereading this i wasnt very helpful.Stugoo