RE: FN-FORUM: Simple CSS padding problem
date posted 15th July 2005 17:12
Anthony et al,
Looks like you've won the prize, Anthony.
> Firefox is following the W3C specs correctly, IE is not. W3C says that
> width is the content width, not including padding.
>
That's the catch, and I changed the CSS to make the padding relate to the
content.
What's v weird is that I've now updated the page with two bordered boxes,
and the one that used to work only in IE now doesn't work in either
browsers.
And the fixed bordered box that is fixed for FF works in both.
http://www.charitysweepstakes.co.uk/padding/fonts.html
I'm confused!
Thanks for your help, chaps.
Andy
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005