HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 8th, 2000, 01:32 AM
RyanP
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I have a table with two columns. The table width is set to 100%.

The left column is a specified width. The right column is not because I want it to take up the rest of the width of the page.

The left column width is fine if the right column has at least 1 line of text that spans the entire width of the cell.

But in Netscape 4.08, if the right column does not have something in it that is the full width of the remainder of the table, Netscape starts to make the left column wider so that the two column widths somewhat even out, even though I have specified the left cell width and I don't want it to be any wider, no matter what.

This works fine in IE, anyone know how to stop Netscape from doing this???

Thanks,
Ryan

Reply With Quote
  #2  
Old July 8th, 2000, 04:27 AM
billy10k billy10k is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 12 billy10k User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You're just going to have to accept the fact that netscape is a horrible, horrible browser. I've faced simliar problems with it many times in the past. You're just goint to have to somehow make sure that there's always enough text to take up one line so the table cell doesnt shrink on you. I know, it's really annoying. It's something you learn to live with

Reply With Quote
  #3  
Old July 8th, 2000, 04:56 AM
Argrajoca Argrajoca is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2000
Location: SPAIN
Posts: 47 Argrajoca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Try adding a transparent gif image with the width that you want at in the left column and setting the width of the right column to 100%. That's all

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100"><img src="transparent.gif" width="100" height="1"></td>
<td width="100"></td>
</tr>
<tr>
<td width="100%"></td>
<td width="100%"></td>
</tr>
</table>

Reply With Quote
  #4  
Old July 8th, 2000, 10:43 AM
RyanP
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
billy: I agree, Netscape is just a developer's pain in the ***. I hear that the next release is significantly different, hopefully for the better. Although we're going to have to design for backwards compatibility with NN4 for quite some time to come.

Argrajoca: Thanks for the idea, that sounds like it should work. I'll give it a shot right now.

Reply With Quote
  #5  
Old August 8th, 2000, 04:22 PM
Physics Physics is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 4 Physics User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sigh. I've been working with Netscape since version .99 It's painfully old but 9 times out of 10 it is not "wrong" about anything it does support completely.

In the "old days" ALL of the browsers focuses on the content as king. If your paragraph contained too much text for your specificed table cell, the table would be stretched to whatever larger structure limits there were, usually stretching the table down and causing vertical scrolling when the browser was not wide enough. The philosophy there is that WHEN you don't allow for every possible case of people seeing your content differently, those people will still be able to use your site. Microsoft decided for themselves that no, the formatting would be absolute in all cases, and if necessiary, the content in the cell will be cliped if there is not enough room.

Someone using "large fonts" (I hate it, but it's not that uncommon) will have some of the ending text/image cut off when it's formatted to fit in IE.

Yes, I'll grant that the age of NN is a very, very serious problem and causes a large number of headaches, but it's the DHTML and CSS support that's most problematic, and a little server-side scripting can usually fix even that.

Your table cell content not formating to the exact width you need? If it's text throw in a transparent GIF that's 1x1px and format it to 1px high and the exact px wide you want. Netscape will NOT cut that image off.

If your table is all images, like a site/page shell effect, and it's not lining up perfectly, then check your math. If all the widths and heights add up exactly with the overall table information, Netscape will never have a problem, period. Tables are old and the NN suport for them is very specific and consistent.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Why doesn't Netscape 4.08 give a shit about specified table cell widths???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway