Table not inheriting width

I'm having an issue getting my body content to scale properly.

It will open to 100% when the page is opened and if you re-size the screen wider it gets bigger but if you go smaller it stays at whatever the widest you stretched it to was.

Netsuite uses an insane amount of tables to structure things which I think may be causing the problem. Here is the link to my sandbox site:

http://shopping.sandbox.netsuite.com/s.nl?c=3573268

We just started development so forgive the mess.

I notice that when I check it in Chrome's dev tools it tells me that the body content div scales with the screen but the table that resides just inside it is what is sticking to the max width.

How do I get this table to inherit the width of the body div?

Answers


Figured it out.

I had to assign the following properties to the containing div that lies within all the tables:

.mainContents {
    position: absolute;
    z-index: 999;
    width: 100%;
    min-width: 1024px;
}

I couldn't tell you the logic behind why it works, but it works. I tried about a thousand other things that would have made more sense but what ever...


Need Your Help

Where can I find the linker(ld) in Sun Solaris Studios 12.2?

linker sun sparc sunstudio

At the moment I am using for linking purposes the pre-installed linker on my SPARC machine

How to give a new line in the entries from database to Excel

php html excel

The problem is with the last entry where $fetch==29. If I am not choosing this last option in my select page, the all other entries are not coming in next line. Is there a way to put \n somewhere e...