Previous Message
Next Message

can anyone help with that padding problem?

Sent by Andrew Gregory on 29 January 2005 09:09


On Sat, 29 Jan 2005 18:35:34 -0800, Jason Selmes [EMAIL-REMOVED]>  
wrote:

> hay guys still having problems with the padding!
>
> no firefox 1.0 is giving a 1 pixel ghap at the top of the left content.
>
> I really like css but all these bloody bugs and shit it would have been  
> easier to use tables.

No bugs involved, just inexperience it seems. Have a read of:

http://www.andybudd.com/archives/2003/11/no_margin_for_error/
http://www.w3.org/TR/CSS21/box.html#collapsing-margins

> http://members.dodo.net.au/~noelene4/fast_fitness.html
>
> http://members.dodo.net.au/~noelene4/css/fastfitness.css

It's the 3px top margin on h3 elements (poking outside the leftcontent  
div). Change it to zero. You should also add "padding: 0" to your body  
styles so that Opera looks the same as IE/Firefox.

HTH,
-- 
Andrew Gregory, <URL: [EMAIL-REMOVED] >
<URL: http://www.scss.com.au/family/andrew/ >
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: