Re: FN-FORUM: CSS Madness - split topic here
date posted 29th February 2008 14:32
On 29 Feb 2008, at 15:43, Brendan Oliver wrote:
>
> as Tony mentioned lots of css problems come from your friend and
> mine IE - whos a bit of a rule breaker.
>
> Most of these problems can be solved by understanding the box model
> - http://www.brainjar.com/css/positioning/default.asp and how IE
> treats padding and margin values
The simple trick that I learned long ago, that saved me from loads of
grief, was to avoid horizontal padding altogether.
if you need white space add a margin to the contained element, not
padding to the container.
that one simple thing eliminates a whole mess of IE problems.
;o)