|
Posted by dorayme on 10/23/07 20:05
In article <OknTi.2478$Qj3.1825@trndny01>,
"nospam" <no@spam.org> wrote:
> "Els" <els.aNOSPAM@tiscali.nl> wrote in message
> news:1xeuh2c28qdtg.1dn375om2tv05$.dlg@40tude.net...
> > nospam wrote:
> >
> >> But if I use height=100% and width=100px, the height doesnot
> >> encompass the entire page - maybe only 200px or so.
> >>
> >> How do you define a style with 100% height?
> >
> > 100% height is 100% of the parent's set height. Apparently the
> > parent's set height is only 200px or so.
> > You can of course add body{height:100%;}, but be aware that this will
> > likely have unwanted side effects if your page is taller than the
> > viewport.
> Thanks for the reply.
>
> Sorry but it still isn't clear to me.
Els has replied to this. I can add:
When I put the snippet of mark up originally supplied by you into
an html file, the page had a blue margin of 120px going from top
to bottom no matter the size of the browser. So, what did you do
to test your code, perhaps you can supply a url to it? When I put
your snippet into an html file in a straightforward way, I got:
http://netweaver.com.au/test/nospam.html
This gets a blue 120px wide border from top to bottom
irrespective of browser window size in Mac Safari, Camino, iCab,
Opera, Firefox Not too surprisingly, nothing appears in the old
and not much used MacIE. I have not tested in Windows IE
About books and tutes, see the very recent threads in this group
and in comp.infosystems.www.authoring.stylesheets where these are
offered.
--
dorayme
Navigation:
[Reply to this message]
|