Reply to Re: CSS styles with 100% height

Your name:

Reply:


Posted by Jonathan N. Little on 10/23/07 20:29

dorayme wrote:
> 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

MSIE 7 = "Thumbs Up!"
MSIE 6.01 = "Thumbs Down!" blue 120px wide but only 15px high (1 line?)
MSIE 5.5 = "Thumbs Up!"
MSIE 5.01 = "Thumbs Up!"
MSIE 4.01 = "Wiggles had palm down" blue 120px wide but does not quite
make it to the bottom. Always about 25px shy!

Don't ya just love IE!

--
Take care,

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация