|
Posted by rf on 12/27/07 01:49
"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.
> 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.
--
Richard.
Navigation:
[Reply to this message]
|