PDA

View Full Version : Fluid CSS???



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

Digitalosophy
July 11th, 2003, 11:44 AM
well there is no code there.lol but i know what your talking about, your better off creating one "main" table and inside it have subtables. then you can auto center the mai table with some JS to fit everyones resolution. i can try to provide you with soem exapmle if needed

Exedus
July 11th, 2003, 12:02 PM
well the fluid table I'm currently using works great. So how do I create another table for the text without screwing this one up?

Exedus
July 11th, 2003, 12:30 PM
OK I did some research and it seems CSS is not the way to go to center all my content. So I'm stuck with tables.

So How do I creat another fluid table within my already fluid table?

Am I making any sense???

Digitalosophy
July 11th, 2003, 01:02 PM
<table>
<tr>
<td height="24">
<table width="703" border="0" class="title">
<tr>
<td width="18%" height="18"><font face="Tahoma, Arial, Verdana" size="2" color="#ECECEC"><b><u>PUB
NUMBER</u></b></font></td>
<td width="49%" height="18"><font face="Tahoma, Arial, Verdana" size="2" color="#ECECEC"><b><u>SERIES
AND TITLE</u></b></font></td>
<td width="20%" height="18"><font face="Tahoma, Arial, Verdana" size="2"><b><font color="#ECECEC"><u>DATE</u></font></b></font></td>
<td width="13%" height="18"><b><font color="#ECECEC" face="Tahoma, Arial, Verdana" size="2"><u>PROP</u></font></b></td>
</tr>
</table>
</td>
</tr>
</table>

fluid_0ne
July 11th, 2003, 01:51 PM
make a tablre
btw
fluid name is reserved :sure: