|  | Posted by Aaron Gray on 12/27/07 02:03 
"rf" <rf@invalid.com> wrote in message news:7xDcj.28077$CN4.6352@news-server.bigpond.net.au...
 >
 > "Aaron Gray" <ang.usenet@gmail.com> wrote in message
 > news:5tg6geF19pba4U1@mid.individual.net...
 >> Hi,
 >>
 >> I am having problems with a form taking too much vertical space.
 >>
 >> The test example is here :-
 >>
 >>        http://www.aarongray.org/Test/HTML/Form/test.html
 >>
 >> I have put a border around the form.
 >
 > No, you haven't. You've put a border on the div that contains the form.
 >
 >> It should take up less height than it is doing.
 >
 > The form is taking up as much vertical space as you have told it to, 10
 > pixels. Firebug confirms this. It's the div that is taking up extra space,
 > probably the forms margin-bottom.
 
 Yep, its the forms margin-bottom on IE !
 
 >> Hope you can show me what I am missing or doing wrong.
 >
 > You are running the browser in quirks mode where it emulates all the bugs
 > from older versions. Supply a valid doctype (strict HTML 4.01) and things
 > will change considerably.
 
 Yes, forgot about quirks mode !
 
 Many thanks,
 
 Aaron
 [Back to original message] |