Jump to content

Web Page Height


designedfree4u

Recommended Posts

The height of the bottom is equal to the height of the elements you moved through absolute positioning.

 

Set the background image using a css background image, don't use an image tag. Put the other elements inside the div with the background image set to it.

Link to comment
Share on other sites

It's not as simple as that. It's your use of absolute positioning that is causing all the problems. I gave you the overall solution, not the entire solution.

 

What you need to do is go through and remove all the absolute positioning for everything, and all the 'top' settings for everything, and start from scratch. You also have an empty div in there with a fairly large size that is pushing stuff down, and isn't needed. Remove that div, get rid of the absolute positioning (trust me, you don't want to use it until you know how to use it, and by the time you know how to use it, you will know when to use it), and start from scratch. Use floats, margins, and paddings for your positioning. Absolute positioning is fools gold - it looks like it should be something good at a quick glace, but upon further investigation, it turns out to be no good at all.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.