Totter
07-19-2004, 01:12 PM
Ok, I've set up my layout using tables. And thats the only tihng I need the tables for. Then I've used CSS to set some invisable boxes for the text. The reason I've done this, is 1. I can use SSI for the layout, and 2. My text doesent overlap the border of my layout (as the boarder is a part of the image I've set as background for the table.) So I've made a .css dokument with my boxes, and placed the DIV in my HTML code. For exampel, heres the code for one of my boxes in the CSS code:
#center {
position: absolute;
top: 261px;
left: 50px;
width: 570px;
margin-left: 230px;
margin-right: 230px;
border-style: solid;
border-color: #009900;
border-width: 0px;
}
And the belonging DIV in my HTML code:
<div id="center">
whatever whatever whatever whatever whatever whatever whatever whatever whatever
</div>
The problem is, that this of course doesent expand the tables of my layout when I enter enough text. This means the text I enter in my DIVs walks out of the layout and onto the background and continues down there.
So my question: is there a way to have the DIV tags automatically expand the tables? Or is there another solution I could use?
Thanks!
#center {
position: absolute;
top: 261px;
left: 50px;
width: 570px;
margin-left: 230px;
margin-right: 230px;
border-style: solid;
border-color: #009900;
border-width: 0px;
}
And the belonging DIV in my HTML code:
<div id="center">
whatever whatever whatever whatever whatever whatever whatever whatever whatever
</div>
The problem is, that this of course doesent expand the tables of my layout when I enter enough text. This means the text I enter in my DIVs walks out of the layout and onto the background and continues down there.
So my question: is there a way to have the DIV tags automatically expand the tables? Or is there another solution I could use?
Thanks!