Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Netscape 4 ignoring column widths
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 02 May 2001 :  04:56:53  Show Profile  Visit Kat's Homepage
I am having problems with displaying tables in Netscape 4.

Basically the problem is that Netscape doesn't seem to be paying any attention to the column widths.

example:

<tr>
<td colspan="<%=strColSpan%>" valign="top" align="left">
<table width=100% border=1 cellpadding="0" cellspacing="2">
<tr>
<td class="boldlinks" colspan="<%=strColSpan%>" valign="top" align="left">Present Customer Base</td>
</tr>

<tr><!--Unique Spacer-->
<td style="font-size:1px;" colspan="<%=strColSpan%>" valign="top" align="left"> </td>
</tr><!--Unique Spacer-->

<tr>
<td width="<%=strMainWidth%>"class="smallnonboldlinks" valign="top" align="left">
   - Domestic:
</td>
<td class="smallnonboldlinks" valign="top" align="left">
<%=rsIndustryForum(enmcpDomesticCustomerBase)%>%
</td>
</tr>
<tr>
<td width="<%=strMainWidth%>"class="smallnonboldlinks" valign="top" align="left">
   - International:
</td>
<td class="smallnonboldlinks" valign="top" align="left">
<%=rsIndustryForum(enmcpInterCustomerBase)%>%
</td>
</tr>
</table>
</td>
</tr>



The width is always set on the first column with the second left as variable but netscape seems to put the second column where it wants to.

I cant post a url because the site is still in development and although I have a screen dump .gif, I don't know how to attach it to this post.

Any Netscape help would be appreciated.

KatsKorner

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 May 2001 :  06:17:56  Show Profile  Visit HuwR's Homepage
Ah, Netscape,

If you are using pixel width's, you should supply all columns with a width, and not just some of them, empty columns do not size correctly either, so make sure you put a space in any empty columns

Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 02 May 2001 :  06:44:06  Show Profile  Visit Kat's Homepage
Thanks Huw. I have put a width on the other columns as a percentage and it seems to be fine now. I already am doing the   thingy on the empty ones.

Isn't Netscape fun?

KatsKorner
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 May 2001 :  07:56:29  Show Profile  Visit HuwR's Homepage
absolutely

Another thing I noticed when working with netscape and tables, I have a left column who's width is 160px it contains a 1px high X 160px wide graphic as the background, in netscape I have to set the coumn width to 140 otherwise it displays more than one graphic in it's width ?? very odd

Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 03 May 2001 :  04:23:30  Show Profile  Visit Kat's Homepage
I have noticed that Netscape seems to renders things smaller or larger for no apparent reason. It is the same with text boxes. The size is always larger in Netscape and can 'fall' off the page because of this. I have to make everything smaller and then it looks really small in IE. (Don't want to do browser detection code - not worth the hassle).

I don't know of a way around it.

KatsKorner
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07