Re: CSS3 - box model padding

Gareth Evans schreef:
> My understanding is that padding is currently applied externally to content (except in table cells) so that, for example...
> <div style="padding:20%;width:100%">some content</div>
> would give a width of 140% [100% + 20% either side].


The solution is very simple: don’t use width: 100% but width: auto.


Ushiko-san! Kimi wa doushite, Ushiko-san!!
Laurens Holst, student, university of Utrecht, the Netherlands.
Website: Backbase employee;

Received on Thursday, 24 August 2006 10:09:09 UTC