basic div height problem
am 22.05.2007 17:35:51 von cronokleeAnyone know off hand how to make this work?
The div heaight doesn't work.
Cheers,
Ciar=E1n
Anyone know off hand how to make this work?
Ciaran wrote:
> Anyone know off hand how to make this work?
>
>
Scripsit Ciaran:
> Anyone know off hand how to make this work?
>
>
On May 22, 4:58 pm, "Jukka K. Korpela"
> Scripsit Ciaran:
>
> > Anyone know off hand how to make this work?
>
> >
> >
> >
>
> Work in which sense?
>
> > The div heaight doesn't work.
>
> Key question: 50% of _what_?
>
> To make the situation more definite, set
>
> html, body { height: 100%; margin: 0; padding: 0; }
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
Cheers guys but I tried that already. The following doesn't work
either, the div still is only the height of a line of type.
Ciaran wrote:
> On May 22, 4:58 pm, "Jukka K. Korpela"
>> Scripsit Ciaran:
>>
>>> Anyone know off hand how to make this work?
>>>
>>>
>>>
>> Work in which sense?
>>
>>> The div heaight doesn't work.
>> Key question: 50% of _what_?
>>
>> To make the situation more definite, set
>>
>> html, body { height: 100%; margin: 0; padding: 0; }
^^^^ ^^^^
Set *both* the BODY *and* its parent HTML element
>>
>> --
>> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
>
> Cheers guys but I tried that already. The following doesn't work
> either, the div still is only the height of a line of type.
>
>
>
>
>
You *only* set the BODY to 100% of what?
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
On May 22, 9:37 pm, "Jonathan N. Little"
wrote:
> Ciaran wrote:
> > On May 22, 4:58 pm, "Jukka K. Korpela"
> >> Scripsit Ciaran:
>
> >>> Anyone know off hand how to make this work?
> >>>
> >>>
> >>>
> >> Work in which sense?
>
> >>> The div heaight doesn't work.
> >> Key question: 50% of _what_?
>
> >> To make the situation more definite, set
>
> >> html, body { height: 100%; margin: 0; padding: 0; }
>
> ^^^^ ^^^^
>
> Set *both* the BODY *and* its parent HTML element
>
>
>
> >> --
> >> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/
>
> > Cheers guys but I tried that already. The following doesn't work
> > either, the div still is only the height of a line of type.
>
> >
> >
> >
>
> You *only* set the BODY to 100% of what?
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com- Hide quoted text -
>
> - Show quoted text -
Ah excellent, thanks! I never knew you could style the html tag!
imagine!