Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
Not registered?
  Forum Statistics:
Forum Members: 24,506
Total Threads: 71,150
Total Posts: 537,257
There are 103 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

using 100%

Thread title: using 100%
Reply    
    Thread tools Search this thread Display Modes  
02-02-2010, 07:09 AM
#1
sudhakararaog is offline sudhakararaog
Status: Junior Member
Join date: Sep 2009
Location:
Expertise:
Software:
 
Posts: 51
iTrader: 0 / 0%
 

sudhakararaog is on a distinguished road

  Old  using 100%

i have seen in many websites they use
html { height: 100%; }

i normally do not use this what does html { height: 100%; } actually mean is this more of an optional thing or if i use this what significant advantage will it have for the pages i create.

please advice.

thanks.

Reply With Quote
02-02-2010, 02:21 PM
#2
Lee_ is offline Lee_
Status: Member
Join date: Jun 2006
Location: UK
Expertise:
Software:
 
Posts: 185
iTrader: 2 / 100%
 

Lee_ is on a distinguished road

  Old

It allows elements to have 100% height (i.e an overlay covering the full screen - lightbox for example)

Although I generally set it as:

Code:
html, body {
	height: 100%;
}

Reply With Quote
02-03-2010, 06:56 PM
#3
Catalyst is offline Catalyst
Catalyst's Avatar
Status: Senior Member
Join date: Jan 2006
Location: Grand Rapids, MI
Expertise: Interface Design
Software: Adobe
 
Posts: 769
iTrader: 0 / 0%
 

Catalyst is on a distinguished road

Send a message via AIM to Catalyst Send a message via MSN to Catalyst Send a message via Skype™ to Catalyst

  Old

Yeah, it usually makes more sense structure-wise to add the attribute to the body tag rather than addressing the entire HTML document.

Lee's answer is right.

Reply With Quote
Reply    


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed