basic div height problem

basic div height problem

am 22.05.2007 17:35:51 von cronoklee

Anyone know off hand how to make this work?





The div heaight doesn't work.
Cheers,
Ciar=E1n

Re: basic div height problem

am 22.05.2007 17:57:21 von lws4art

Ciaran wrote:
> Anyone know off hand how to make this work?
>
>
>


>
>
> The div heaight doesn't work.

50% of what? You did not specify, add to your stylesheet and see what
happens

HTML, BODY { height: 100%; }

Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Re: basic div height problem

am 22.05.2007 17:58:26 von jkorpela

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/

Re: basic div height problem

am 22.05.2007 20:59:20 von cronoklee

On May 22, 4:58 pm, "Jukka K. Korpela" wrote:
> 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.



Re: basic div height problem

am 22.05.2007 22:37:53 von lws4art

Ciaran wrote:
> On May 22, 4:58 pm, "Jukka K. Korpela" wrote:
>> 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

Re: basic div height problem

am 23.05.2007 11:51:06 von cronoklee

On May 22, 9:37 pm, "Jonathan N. Little"
wrote:
> Ciaran wrote:
> > On May 22, 4:58 pm, "Jukka K. Korpela" wrote:
> >> 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!