[thelist] Help with DIV problem

Joshua Olson joshua at waetech.com
Mon Jun 7 18:17:06 CDT 2004


> -----Original Message-----
> From: sandra
> Sent: Monday, June 07, 2004 6:16 PM
> > I think the problem may lie in that you've broken what I consider the
> > cardinal rule... never EVER put a set width on a div if you also specify
> any
> > of border, padding, and margin.
>
> Thanks for the reply Joshua, is there a workaround for this

Sandra,

Yes, there is.  If you need padding on a div for which you have specified a
width, simply remove the padding styling from the div, and embed another div
within it.  Specify the padding or margin on the embedded div.

Example:

http://concepts.waetech.com/50_50/

Best of luck,

<><><><><><><><><><>
Joshua Olson
Web Application Engineer
WAE Tech Inc.
http://www.waetech.com/service_areas/
706.210.0168




More information about the thelist mailing list