Previous Message
Next Message

forms and nn7 ignoring height of submit/reset buttons

Sent by Philippe Wittenbergh on 18 September 2003 13:01


On Thursday, September 18, 2003, at 08:50  PM, Adam Hardy wrote:

> The reason why it isn't obvious is because some of the other row-divs 
> in the page have only floated-spans in them but DO take up space. If 
> you look at the middle row with the text-area, you'll see what I mean.

All div with a class row have {clear:both} declared. This means that 
the previous row, containing floated spans, is cleared, in effect 
giving height to the parent block level element. Not so for the last 
row, which contains the input/reset button.

PS - Declaring {clear:both} on div.row means clearing the floated 
elements in the *previous* row...

Philippe
== | == | == | == | == | == | == | == | == | == | == | ==

Philippe Wittenbergh

code | design | web projects : <http://www.l-c-n.com/>
online image gallery : <http://www.l-c-n.com/phiw/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: