Reply to Re: CSS styles with 100% height

Your name:

Reply:


Posted by nospam on 10/23/07 14:14

Thanks for the reply.

Sorry but it still isn't clear to me. I'm a newbie to CSS.

What is the parents set height? Is that defined in CSS or in the web page
HTML?
What is the viewport?

I guess I need to dig into how the browser interacts with CSS to render
itself.
Do you have any good books, pointers or recommendations for that?

Regards,
bruce


"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.
>
> --
> Els http://locusmeus.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

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