GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Web  >  Html

 Print  |  
Question:  What is the difference between width=”100” and width=”100%”?



July 07, 2008 07:39:16 #6
 raosekar_237   Member Since: July 2008    Total Comments: 2 

What is the difference between width=”100” and width=”100%”?
 
There is lot of difference between width="100" and width="100%". Suppose we have create a table. if width 100 will be 100 its a fixed width. while loading it will take default table width as 100 but in 100% it wont take like that

first of all it has to load fully and then it will take the browser window width and then 100% table will display in its full view and it could be changed according the resolution and browser.

but fixed width cant be changed if the resolution and browser changed
     

 

Back To Question