English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Ok I have a group of links I want to be possitioned absolute top, while I also want content in the middle, and then another set of links possitioned at the bottom. However, my links for the bottom are showing up in the middle of my content and overlapping. My Q is how do I get the bottom links to show at the BOTTOM of the page after EVERYTHING?
Thanks...

Here is part of my css code (the part I'm having trouble with:



.toplinks {width: 100%; float: top; position: absolute; z-index: 3; background-color: #660000; margin-top: 0px; padding: 3px; border: 1px solid black; word-spacing: 1.2em}

.toplinks a {font-family: Arial, Helvetica, sans-serif; color: white; font-size: 10pt; font-weight: bold}


.toplinks a:link {text-decoration: none}

.toplinks a:visited {text-decoration: none}

.toplinks a:hover {color: #FF9900; text-decoration: underline}

.toplinks a:active {text-decoration: none}



.bottomlinks {width: 50%; position: absolute; left: 0px; bottom: 0px; float: baseline; margin-bottom: 1px; padding: 8px; word-spacing: 10px; clear: left}

.bottomlinks a {font-family: Arial, Helvetica, sans-serif; color: #336699; font-size: 9pt}


.bottomlinks a:link {text-decoration: none}

.bottomlinks a:visited {text-decoration: none}

.bottomlinks a:hover {color: black; text-decoration: underline}

.bottomlinks a:active {text-decoration: none}


2006-08-23 20:40:36 · 2 answers · asked by Am 4 in Computers & Internet Programming & Design

2 answers

if you place your links absolutely at the bottom (using bottom:0;) you will get an overlap if your page content is taller than the browser window.

What you need to do is first check the browser height (BH) against your content height (CH) and place the footer accordingly (ie at the bottom of the browser if BH > CH and at the bottom of the content if BH < CH.

Check out Alistapart for the article called 'exploring footers', you'll get the solution.

2006-08-23 21:21:11 · answer #1 · answered by le_gber 3 · 1 0

i´m an extremely fidgety sleeper, so rather lots each and every place (different than on the tummy) dissimilar situations in keeping with night. easily, i´m so fidgety that i tend to get snarled in my blankets whilst they´re no longer tucked in securely sufficient^^

2016-09-29 22:22:50 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers