inherit
27799
0
Jul 17, 2012 16:55:13 GMT -8
Nathan
The Real Chat4Christ
1,499
July 2004
nathan3k
|
Post by Nathan on Jun 21, 2012 10:00:13 GMT -8
I was torn between posting it in this board or the Code Support board, but I posted it here because it doesn't really apply to my proboard forum.
I will explain my issue as I go.
My CSS snippet:
#table1 { position:absolute; left:319px; top:791px; width:707px; height:auto; background-color:#FFFFD5; }
#table2 { position:absolute; left:0px; top:823px; width:1026px; height:60px; }
My HTML snippet:
<div id="table1">I want to be able to expand this table as large as I like without it overlapping "table2." </div> <div id="table2"> </div>
I want to be able to type what ever I like in table1 and keep it from overlapping table2. If I type too much, and the table reaches table2, table2 will come in the forground blocking table1.
How can I fix this?
|
|
#00AF33
Bark Different.
102833
0
1
Feb 12, 2023 16:57:46 GMT -8
RedBassett
I'm a Marxist/Lennonist of the Groucho/John variety.
15,405
April 2007
applecomputer
RedBassett's Mini-Profile
|
Post by RedBassett on Jun 21, 2012 15:27:19 GMT -8
Don't use position: absolute. Find another way to place the DIVs. Because you are defining the exact location of both 1 and 2, 2 has no way to move down when 1 is longer than expected.
Alternately, you could give 1 a fixed height, and the property:
overflow:scroll;
This would cause it to become a scrolling box, of a fixed size.
|
|
inherit
27799
0
Jul 17, 2012 16:55:13 GMT -8
Nathan
The Real Chat4Christ
1,499
July 2004
nathan3k
|
Post by Nathan on Jun 21, 2012 15:40:07 GMT -8
Thanks for the help! I also just thought of this. All these divs are in Table_01. If I made a new table for div name "table2" would it fix this issue as well?
|
|