473,395 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Why container body won't expand fully

Hiya guys.

The problem Im having is basically that I have a backgound image set with position: absolute and z-index: -1.

Then there's a table in which the main content is inside.

The error is that the table wont auto expand so that any content fits inside.

It expands to say 500px, then stops no matter how much is inside.

There are divs inside of the table with position absolute and relative, but is this keeping the table from expanding?

The table width has been set to both 100% and *, without any luck.

Setting a height: 700px; does work, but it isn't dynamic as each page has different content.

I hope this made sense and someone can tell me what's wrong.

The page is a 'pretend' community based off a school project and is at a temporarily site
here: http://afl-clan.com/haven
By clicking Account -> Create new, you will see some text overflowing
That text is inside the table and doesn't have any Position properties set.

The white frame which surrounds most of the site is the #container (which should surround the whole site really).
Oct 18 '10 #1
4 2322
Death Slaught
1,137 1GB
I don't have time to play with it right now, but try removing the height property from your account-create division. I'll play with it with it a bit when I get time.


Thanks, Death
Oct 18 '10 #2
It really does the trick!

Thank you.

However, how can I keep that object forced to a height without making the body incapable of expanding?

Edit:

I solved it now :)
I did some CSS tweaking and had to resort to the use of a table in order to seperate the logo on the left and the content to the right, I hope that isn't bad coding conduct.
Oct 19 '10 #3
Death Slaught
1,137 1GB
I'm glad it worked. Yes, that is bad coding. You should never use tables for layout. I'm at school right now, but I should be able to play with this more during my second period.

Thanks, Death
Oct 19 '10 #4
Death Slaught
1,137 1GB
You removed the example, I don't have IE, and you should never use tables for layout. That's all I can do right now.


Thanks, Death
Oct 19 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: red | last post by:
This page shows 3 divs side by side surrounded by a wrapper, but the wrapper thinks there's nothing in it, so its collapsed at the top. How do I get the wrapper to expand around the divs ?...
2
by: Prikkie | last post by:
I'm making a photoblog for a friend. In Opera and IE it looks like I want it to, but in Firefox I can't seem to get it right. On http://www.groothoek.nl you can see what happens: the columns on...
2
by: Deano | last post by:
I have a textbox on a report that show the contents of a note field which stores Memo data. Quite alot of text can be typed by the user here but if it exceeds a certain amount the textbox does not...
2
by: Patient Guy | last post by:
I don't think I have ever encountered something like this before. On a Windows XP running Apache 2.0.53 I do my page development (XP machine). I then upload the stuff to a Linux/Redhat/Fedora...
1
by: Miked | last post by:
Hello: I'm relatively new to CSS, and I'm doing a site where I don't want to use any tables. I've gotten pretty far, and the site has the layout I want. My only problem is that I'm using the...
11
by: Nospam | last post by:
I don't know what it is I am doing wrong, I am trying to get the menus to either expand or contract based on their previous states, i.e if already expanded if clicked again contract, and if...
15
by: raknin | last post by:
Hi, I am new to the javascript and the ajax. I want to create a text and expand and collapsonly part of it . Something similar to what is done in youtube., I have this code. <!DOCTYPE HTML...
6
by: AJM Project | last post by:
Hello, I see this is a well known thing and have seen many answers but none have worked for me. It's just a test page I'm making and I've ran into this so I thought I'd ask how to fix it - inline...
2
by: chotu99 | last post by:
I have a table in which there are several rows , I would like to know how to expand a row when mouse moves over that particular row and give some description about and gets back to normal when mouse...
0
by: anrod | last post by:
i run a report in oracle 6, show me an error, rep-1212 object 'body' is not fully enclosed by its enclosing object
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.