There's many ways, but more often than not they cause more problems than they're worth.
1. You could absolutely position the div with bottom: 0;
2. You could give your html and body 100% height and then work with that.
The problems that arise however will be that when your content is longer than the whole page, both solutions will be shaky at best. #1 will simply hover over your content (or under) and #2 will stop at the end of the screen. Also, you have to consider that computer screens are getting bigger and bigger and if you have little content and then a div at the very bottom it might look weird.
___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
If your content is bigger (longer) than the screen size and you want your div to be below that content, normal unstyled code will do that automatically. There is no coding necessary.
___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
Must be your code. But since I cannot see your code, I can only say that I agree that the div is overlapped and that's what it should look like, given the code. Show me the code to convince me otherwise.
___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
/* menu horizontal */
.menuAdmin * { margin: 0; padding: 0;}
.menuAdmin a { display: block; }
.menuAdmin li { list-style: none; float: left; height: 1%; }
.menuAdmin li ul { position: absolute; visibility: hidden;}
.menuAdmin li ul li { float: none; white-space: nowrap; display: inline; /* o inline é pro IE */}
.menuAdmin li ul li ul { position: absolute; left: 100%; top: 0; }
.menuAdmin li:hover ul, .menuAdmin li.over ul { visibility: visible;}
.menuAdmin li:hover ul ul, .menuAdmin li.over ul ul { visibility: hidden;}
.menuAdmin ul ul li:hover ul, .menuAdmin ul ul li.over ul { visibility: visible;}
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.