interview questions and answers

Web Technologies Interview Questions | CSS Interview Questions

Home interview questions Web Technologies interview questions CSS 
Friday, 10 February 2012
Main Menu
Home
Online Test
Contest
Search
FAQs
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions Web Technologies interview questions CSS

This category contains CSS Interview Questions and Answers


How do I make my div 100% height?

PDF Print E-mail

ou need to know what the 100% is of, so the parent div must have a height set. One problem that people often come up against is making the main page fill the screen if there's little content. You can do that like this : CSS body, html { height:100%; } body { margin:0; padding:0; } #wrap { position:relative; min-height:100%; } * html #wrap { height:100%; } Here, the #wrap div goes around your whole page - it's like a sub-body.




Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

Web Technologies Interview Questions | CSS Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony