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 23rd, 2000, 08:45 PM
ggalla ggalla is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Melbourne, Victoria, Australia
Posts: 2 ggalla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi folks.
I have quite a number of pages that are dynamically loaded using JSP. I use tables on each of these, and I need the width of these tables to be as wide as the users screen (100%!).
IE displays this good, so does netscape 6 (kind of), but with netscape 4.7, I have absolutely no control over the width it makes the table. I cannnot seem to pinpoint why it ignores the width defined. I've tried reducing the overall table to 80%, but that's not really a fix as it doesn't always work!

If anyone has ANY ideas, I would really appreciate them.
Thanks.

Reply With Quote
  #2  
Old July 23rd, 2000, 09:46 PM
billyo billyo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 114 billyo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Have you tried this?
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre><html>
<head></head>
<body>
<table width=100% bgcolor=00ff00><tr><td>&nbsp</td></tr></table>
</body>
</html>[/code]
Maybe you should post some code, or try to give some more detail.

Reply With Quote
  #3  
Old July 23rd, 2000, 10:42 PM
ggalla ggalla is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Melbourne, Victoria, Australia
Posts: 2 ggalla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sorry, should have been more precise.
The tables are all defined as follows:

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>...
</td>
</tr>
</table>

The problem is that Netscape ignores the width="100%" part if the text within a <td> cell wraps around itself.

Reply With Quote
  #4  
Old July 25th, 2000, 10:59 PM
krr krr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: san jose
Posts: 11 krr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I am new to the game but my tables were original all in percentages IE was fine but netscape won't function at all. I went back setup the pages, "text based" to 650 regardless of window size and 700 for my product pages. worse case senario is that 4% of my users will scroll 1 inch to view a piece of an image.

Couldn't find any other work around. I have read about setting pages sizes "table sizes" dynamically using scripting. Then using a sniffer to find out what the browser is.
Combine it with .css and you present the page according to the results of the sniffer.
Draw backs to this you can find at the W3C, as they point out the browser sniffers can fail and users can block them. Some people are afraid of java and javascripts.


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Controlling table width in Netscape 4.7 - Urgent!


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 5 hosted by Hostway