• 0

[css] positioning DIV elements


Question

there's a page with a few DIV elements that I want to place on top of each other.

if you want to see the page, it's up over here.

the style sheet is the URL plus "style.css"

anyways, if I don't make the position of the first DIV - "titleHeader" - absolute, the width of the element doesn't COMPLETELY fill 100%... it leaves a few pixels between the end of the page and the DIV. I want to make the other positions of DIVs absolute, but i want to specify that I want it to use the spacing from the top of the previous element plus the height of the previous element so that they stack up nicely... i'm not excatly sure how to do that, or if you can do that. please help me out :o

edit: sorry, i forgot to specify that the reason i want them to stack instead of using pixel values to place them with exact coordinates is because I want ot use percentage values to adjust to different browser sizes / resolutions. thank you again :D

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.