Exedus
July 11th, 2003, 11:41 AM
Is it possible to create a fluid DIV?
Right now I have all of my content in a table. The talbe is fluid so the content stays in the center of the screen no matter what the resolution. Bassicaly I want to do the same thing with a few DIV's. I'm having some issues though and that's why I'm here.
I have the DIV acting fuid vertically but not horizontally. So when I go to a smaller resolution the DIV moves to the right. Here the code.
<div id="Text1" style="position:absolute; left:25%; margin-top:470px; width:23%; z-index:1">This
is a test to see if this stupid DIV will work at all kinds of different resolutions.</div>
Please help.
*I edited it to make the code show... --Jubba
Right now I have all of my content in a table. The talbe is fluid so the content stays in the center of the screen no matter what the resolution. Bassicaly I want to do the same thing with a few DIV's. I'm having some issues though and that's why I'm here.
I have the DIV acting fuid vertically but not horizontally. So when I go to a smaller resolution the DIV moves to the right. Here the code.
<div id="Text1" style="position:absolute; left:25%; margin-top:470px; width:23%; z-index:1">This
is a test to see if this stupid DIV will work at all kinds of different resolutions.</div>
Please help.
*I edited it to make the code show... --Jubba