[thelist] CSS padding, width in %

Michael Pemberton evolt at mpember.net.au
Tue Jul 20 01:57:48 CDT 2004

Erik Mattheis wrote:
> How can I have padding and retain the precise 20% width?

This will always be a problem.  Because each of the "box model" issue, 
the padding will sometimes be added to the widt instead of being inside it.

I sort of gave up with % perfect width and just allowed for the extra 
with.  This meant reducing the width of my DIVs to keep them from 

I'm sure that someone out there has a better solution.

Michael Pemberton
evolt at mpember.net.au

More information about the thelist mailing list