Arqueete
08-18-2004, 05:32 PM
I didn't know how to title this, so I hope that was informative enough :-P
I'm not very experienced in making table-less layouts, and this is my first time actually trying absolute or relative positioning in a layout, so if this is something obvious forgive me. Everything was going well until I decided I better move the main div up a couple hundred pixels. I added position:relative;top:-150px; to the style, and IE moved the div up 150 pixels but on Firefox it completely disappeared off the page. I tried a few different values for top, both positive and negative. Then I just got rid of top and had only position:relative and it was still gone. It isn't until I remove it that that it returns.
So, my question is: Why?
By the way, this is how its supposed to look:
http://www.stellmond.com/diagram.gif
And the page where I'm testing this is here:
http://www.stellmond.com/test.html
Thanks in advance.
I'm not very experienced in making table-less layouts, and this is my first time actually trying absolute or relative positioning in a layout, so if this is something obvious forgive me. Everything was going well until I decided I better move the main div up a couple hundred pixels. I added position:relative;top:-150px; to the style, and IE moved the div up 150 pixels but on Firefox it completely disappeared off the page. I tried a few different values for top, both positive and negative. Then I just got rid of top and had only position:relative and it was still gone. It isn't until I remove it that that it returns.
So, my question is: Why?
By the way, this is how its supposed to look:
http://www.stellmond.com/diagram.gif
And the page where I'm testing this is here:
http://www.stellmond.com/test.html
Thanks in advance.