> Basically, the problem is in FF when I insert content into the <div>s
> controlling the box, it pushes my corners down if the element is a
> block-level element.  I can get around this if the first item in the
> <div> is a <p> by applying a left float to the <p>.  However, if the
> element is a <h2> the float doesn't help and the content is pushed down
> anyway.
> 
> Any suggestions?  Here are the two pages and their relevant code:
> 

Most probably the h2 (or any other offending element) has a margin
that pushes the following content.

You can clear all margins and paddings set by default, by applying {
margin: 0; padding: 0 } to all elements inside the div.

Prabhath
http://nidahas.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to