Posted by Ciaran on 05/22/07 18:59
On May 22, 4:58 pm, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:
> Scripsit Ciaran:
>
> > Anyone know off hand how to make this work?
>
> > <body>
> > <div style="background:#000000; height:50%;"></div>
> > </body>
>
> 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.
<body style="height: 100%; margin: 0; padding: 0; ">
<div style="background:#000000; height:50%;"></div>
</body>
[Back to original message]
|