Posted by Jonathan N. Little on 09/26/05 21:19
Thomas Jollans wrote:
> smokeyd wrote:
>
>>
>> width:720px;
>
> don't use pixels. use pt or %. there are different scren resolutions.
>
>> height:100%;
>
> that shouldn't be needed. Firefox displays it with 100% of the window,
> which seams correct.
No block level elements are 'auto' by default so would not expand by
default to 100% of the window or containing element but just large
enough to contain child elements + their margins and borders + the
element;s padding. If you want otherwise then you have to specify the
height.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|