Padding usage

8 views
Skip to first unread message

akira

unread,
Oct 5, 2009, 11:11:16 AM10/5/09
to Emastic - CSS Framework
To make things look nice and not cramped I intend to pad the left side
of all the DIV containers the are on the left side of my layout like
this:

padding-left : 10px;


This works, I only have the problem that this conflicts with the
margins, example

<div id="claim" class="dl80">
<div id="a" class="dl40"></div>
<div id="b" class="dl40"></div>
</div>

if I pad the DIV #a, then the space left for #b is not dl40 anymore.
whats the best way to handle this?


Thanks
Reply all
Reply to author
Forward
0 new messages