| 
 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"> 
  
</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?
 
[Back to original message] 
 |