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

Posted by John Paul on 10/13/06 19:16

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

 

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

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