Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 11-08-2006, 03:16 AM Why the extra space
Nahele's Avatar
Extreme Talker

Posts: 204
Trades: 1
I've got a bunch of extra space at the bottom of my page here. Not sure why, anyone got a suggestion?

http://meanollionsden.com/index.html

here is the css
http://meanollionsden.com/index.css
__________________
The worst things in life allow us to appreciate the best things

virtual kudos (a.k.a. talkupation) always welcome where deserved.
Nahele is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-08-2006, 09:13 AM Re: Why the extra space
jason_bristol's Avatar
Ultra Talker

Latest Blog Post:
New site - ConnectFrench.com
Posts: 310
Name: Jason Eyermann
Location: england bristol
Trades: 0
I think the reason is -

the about div is inside the content div which is in the container div. Some of the internal divs are not happy sitting next to each other so they push each other down. To resolve this to have just used something like 'top:-500' in your css to bring it back up. But the parent divs content and container stay where they are.

Seeing as you are only useing a static design you could use absolute to position. You would then lose the white space.

you should be able to get it working without even using absolutes.Try using floats
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by jason_bristol; 11-08-2006 at 09:23 AM..
jason_bristol is offline
Reply With Quote
View Public Profile Visit jason_bristol's homepage!
 
Old 11-08-2006, 04:00 PM Re: Why the extra space
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I don't think so.
For one thing, you don't need position:relative on EVERY div, it's simply not necessary. Put position:relative on your container and that should be all you need.

When I took out ALL of the positioning and left only position:relative on the #container, the space disappeared.

You've also got all this going on:
Quote:
#about {
min-height: 500px;
height: auto;
_height: 500px;
width: 480px;
position: relative;
left: 45px;
top: -520px;
margin-left: auto;
margin-right: auto;
}
How many times do you need to define height ?? The content will stretch the page as it goes.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-08-2006, 05:23 PM Re: Why the extra space
Nahele's Avatar
Extreme Talker

Posts: 204
Trades: 1
Thanks for the help LadynRed, I know it's really messy, but I just cleaned it up quite a bit and started using float to position div better. Work on realigning things a little later when I've got time.

As for all the hight definitions, originally the page had very little content and the graphic I have that comes at the bottom right was within tha "about" div so I needed to make sure the <div> was at least 500px high, or else it looked wierd. The second and third height definitions, to my understanding, were IE work arounds. I no longer needed them as the page has enough content now.
__________________
The worst things in life allow us to appreciate the best things

virtual kudos (a.k.a. talkupation) always welcome where deserved.
Nahele is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why the extra space
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16840 seconds with 12 queries