View Full Version : Layout out a template using div tags

08-13-2010, 03:26 PM
Hi Guys,

Im laying out a tmplate using div tags to split the page up into various regions.

Am i correct in asuming a div tag which contains an optional editable region cant have any padding on it and that the padding must be controlled by a css style assigned to the content of the optional editable region.

Would it be true to say that a div tag padded using css wont allow a optionable editable region to collapse.

Its been a hard day


08-13-2010, 07:02 PM
I'm not exactly sure what you're asking butů

You can apply padding to the div tag or its content (even content in a editable region).

If a div tag has padding but no content then it will collapse as far as the padding allows it to (so if you have 5 px of top and bottom padding the empty div would be 10 px tall.

08-13-2010, 11:59 PM
Thanks for your help :-)