2 replies [Last post]
pricejt
Offline
newbie
Last seen: 15 years 18 weeks ago
Timezone: GMT-5
Joined: 2007-05-24
Posts: 2
Points: 0

Yes I know i shouldn't be using tables, but I still haven't migrated my site completely.

Stupid question im sure

I have two divs

#pagecell1{
position:absolute;
top: 150px;
left: 10px;
right: 2%;
width:800px;
background-color: #ffffdd;
height: 800px;
}
#content{
padding: 0px 10px 0px 0px;
margin:0px 0px 0px 178px;
/*border-left: 1px solid #ccd2d2;*/
position:absolute;
left:0px;
top:0px;
/*background-color: #CC99FF;*/
background-color: #ffffdd;
width:611px;
height: 100%;

}

....lots of content

Currently the table is overflowing the content div. I know how to fix it by taking the height value away from the pagecell1 div. But when i do that if on another page i don't have that table in the content then my pagecell1 is very small. I think I can use minheight but that wont work for all browsers. anyone have any better suggestions.

Sorry if this has been asked a lot of times. Just trying to get this fixed rather quickly.

pricejt
Offline
newbie
Last seen: 15 years 18 weeks ago
Timezone: GMT-5
Joined: 2007-05-24
Posts: 2
Points: 0

fixed

Nevermind i fixed it

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 22 weeks 1 day ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

How?

How?

Verschwindende wrote:
  • CSS doesn't make pies