Robert Saylor
asked on
Unwanted white space
Hi, I am new to DIV and CSS. We are working on a new system and it is coming along well but there is un-wanted whitespace at the end. I don't want the user to see the scroll bar but future pages will be able to scroll. Would be best if the whitespace was removed but not sure how.
Example site:
http://www.liveaboardfleet.com/online_v2/
Example site:
http://www.liveaboardfleet.com/online_v2/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Still messing with it but I created 1 relative then created an absolute wrapper then added floats inside the absolute. I am starting to understand CSS positioning now. I am a table guy but moving away from tables.
The large whitespace at the end is gone and we are going to add a small footer so should look good. Thanks!
The large whitespace at the end is gone and we are going to add a small footer so should look good. Thanks!
as Body looks to its parent (HTML) for how to scale , so HTML needs to be set too.
try:
html{
min-height: 100%;
}
body {
min-height: 100%;
}