PDA

View Full Version : Unwanted height, driving me crazy.



muneeba9071
Mar 25th, 2011, 02:29 PM
Hi,

Please take a look at: http://61.225.169.122/~test/

I have unwanted height on the wrapper, even if I force it to something like 600px, you will still have to scroll down, I have tried firebug, but no luck!

Would appreciate, if someone could help.

Thanks

muneeba9071
Mar 25th, 2011, 02:29 PM
PS, scroll down the page and you will see the unwanted height.

teedoff
Mar 25th, 2011, 04:01 PM
Take a look at the dimensions of your body's background image and you might see why you have that height gap.

muneeba9071
Mar 25th, 2011, 04:05 PM
Thanks for the prompt response, the height remains the same even if I take the background image away. Thanks

Excavator
Mar 26th, 2011, 02:04 AM
Hello muneeba9071,
You are using a lot of unneccessary positioning on your site. It would be much better to let the natural flow of the document lay those elements out rather than all the negative margins you have that are dragging them back up where you want them.

If you instist on using positioning, using relative on all your elements just doesn't work very well.

Make your parent container, #wrapper, relative and absolute postition your other elements.