You are here: Re: Form layout problem « HTML « IT news, forums, messages
Re: Form layout problem

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация