[advanced search]
Results from the most recent live auction are here.
21 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 12-18-2003, 03:00 PM   · #1
JonDapron
New Member
 
Trader Rating: (0)
Join Date: Dec 2003
Posts: 2
NP$: 3.00 (Donate)
JonDapron is an unknown quantity at this point
div layout table problems - AAH

Hello,
I have a two-column div layout. See www.ejwelch.com and go to 'product catalog' then go to 'Floor Protection'. I have these product tables set to a width of 100% in my css (cat class) so all the tables take up 100% of the column, even if there is not enough info to force it (ie the 'single roll' tables). This works PERFECT in IE6.0. However, in Netscape7.1 the tables extend off the page (probably due to a different interpretation of div width).
How can i fix this? if i cant, how else can i set this up for the desired effect?
Thanks in advance!!


Please register or log-in into NamePros to hide ads
JonDapron is offline   Reply With Quote
Old 12-19-2003, 04:24 AM   · #2
Mp)Tarh
....what?
 
Mp)Tarh's Avatar
 
Location: Ontario, Canada
Trader Rating: (0)
Join Date: Aug 2003
Posts: 101
NP$: 171.00 (Donate)
Mp)Tarh is an unknown quantity at this point
First off, the browsers are not perfect with percentages yet. I believe what is happening is that IE thinks "100%" is the remainder of the document. But NS thinks "100%" is the size of the entire window over again.

Your best option is to go back to the old ways and set the table width with:
<TABLE WIDTH="100%">

After you do that, go complain to the W3C to make browsers support the percentages better.
__________________
Yeah... I knew that. What?
Mp)Tarh is offline   Reply With Quote
Old 12-19-2003, 07:36 AM   · #3
JonDapron
New Member
 
Trader Rating: (0)
Join Date: Dec 2003
Posts: 2
NP$: 3.00 (Donate)
JonDapron is an unknown quantity at this point
same problem

Setting the table width to 100% the old way had the same results - the table extended off the screen in IE, unless you set a div width in the css, in which case it fixes it in IE, but causes the tables to extend off the screen in Netscape. Someone had mentioned a javascript that recognzises browser and adjusts width accordingly? Or maybe ill just take out the paragraphs until the browsers have unified standards.
JonDapron is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
EscrowDNS Hunting Moon RealTechNetwork
Advertise your business at NamePros
All times are GMT -7. The time now is 10:37 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0