Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Trouble with website width in Firefox - works OK in IE
Old 01-21-2007, 12:38 PM Trouble with website width in Firefox - works OK in IE
JohnJ's Avatar
Extreme Talker

Posts: 198
Location: Raleigh, NC
Trades: 0
I am maintaining a very large and very old website that was built using tables. I have always run the website using table widths of 100% so it will automatically resize to fit the visitor's display.

Now with the newer widescreen displays I find that the website really looks dumb if it is displayed at a screen width of 1680 pixels so I decided to restrict the width to 1280 pixels or less.

Now the problem: I recognize that IE doesn't recognize 'max-width' in CSS so I simply added another table around the 'outside' of the entire page. Looks something like:
<table width="100%" border="0" cellspacing="0" cellpadding="0" color="#000000">
<tr>
<td width="1280" bgcolor="#FFFFFF" >

Existing page inserted here..... <table width=100%> etc. etc. etc....

</td>
</tr>
</table>

This solves the problem perfectly in IE. Webpage displays correctly at 800 pixels wide, 1024 pixels wide, 1280 pixels wide and at 1680 I get a page that is 1280 with a black background as described by bgcolor="#000000" in first table.

However, when I display the page in either Firefox or Netscape the page always displays at 1280 pixels wide (it gives me that terrible scroll bar at the bottom of the page)...

What am I doing wrong??

Thanks for any suggestions.

JohnJ
__________________
JohnJ

Please login or register to view this content. Registration is FREE

WebImages Inc. - Raleigh NC
JohnJ is offline
Reply With Quote
View Public Profile Visit JohnJ's homepage!
 
 
Register now for full access!
Old 01-21-2007, 02:30 PM Re: Trouble with website width in Firefox - works OK in IE
JohnJ's Avatar
Extreme Talker

Posts: 198
Location: Raleigh, NC
Trades: 0
Nevermind.... The problem wasn't in the tables at all.... It was actually in the external css file that I link to - - Obviously Firefox and Netscape handle external CSS better than IE.... I'm embarrased but the problem was mine all along....
__________________
JohnJ

Please login or register to view this content. Registration is FREE

WebImages Inc. - Raleigh NC
JohnJ is offline
Reply With Quote
View Public Profile Visit JohnJ's homepage!
 
Old 01-21-2007, 05:00 PM Re: Trouble with website width in Firefox - works OK in IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
IE (6 and below) does a LOUSY job of rendering CSS and has so many bugs you really cannot rely on what it's showing you to be what the other browsers will display.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-21-2007, 10:17 PM Re: Trouble with website width in Firefox - works OK in IE
Experienced Talker

Posts: 31
Trades: 0
The old problem with Firefox and IE
__________________

Please login or register to view this content. Registration is FREE
manilodisan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Trouble with website width in Firefox - works OK in IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20156 seconds with 12 queries