You are here: Re: css problem - height 20% doesn't work in Firefox « HTML « IT news, forums, messages
Re: css problem - height 20% doesn't work in Firefox

Posted by Ed Mullen on 10/13/06 19:29

John Paul wrote:
> How do you specify the height as a percentage and get it to work in Firefox?
>
> Here is my CSS:
>
> #test{
> width:100%;
> background: red;
> height: 20%; /*this doesn't work in FireFox */
> }
>
> Here is my HTML:
>
> <div id="test">
> </div>
>
> Works in IE but not in Firefox.
>
> Thanks
>
>

The div is empty. You could do:

<div id="test">
&nbsp;
</div>

If you'd describe what you are actually trying to accomplish you'll get
better responses. ;-)

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
Why do we drive on parkways and park on driveways?

 

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

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