Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape 4.7 displaying output incorrectly

Status
Not open for further replies.

JennyW

Technical User
Mar 1, 2001
323
CA
Hi everyone,

I’ve been developing a test site using IE 5 and 5.5.

I went to test my site in Netscape 4.7 and its format was all messed up.

Here’s a couple problems I came across:

=============================

--NETSCAPE 4.7--
** My Guestbook **

- The ‘Name’ field on the form was been incorrectly re-aligned to the right.

=============================

--NETSCAPE 4.7--
** My Email Form **

- The Email form’s ‘Submit’ button and ‘Name’ field have been incorrectly aligned to the right.

=============================

Does anyone know what I can do to fix these errors that are occurring with Netscape 4.7?

=============================

Thanks for your time,
JennyW
 
I notice that you have the right table cells set to a width of 100px.

I had a very similar problem the other week with Netscape 4.7 not displaying table data width properly. (I had a uniform table data width of 20% for the right-hand table cells). However, the width only displayed uniformly in IE 5. In Netscape, for no particular reason, some had to be changed to "28%".

(see the website
I found that there was no solution that looked the same in both browsers, so I created two versions of the website and included the following in the header:

<html><head><title></title>

<script LANGUAGE=&quot;JavaScript&quot;>

if (navigator.appName == &quot;Microsoft Internet Explorer&quot;)
{
window.location = &quot;conference.html&quot;

}
</script></center>

<script LANGUAGE=&quot;JavaScript&quot;>

if (navigator.appName == &quot;Netscape&quot;)
{
window.location = &quot;conference1.html&quot;

}







</script>
</head><body>

This directs the user to the proper webpage, depending on the browser they are using. I hope this helps.
 
Hi,
Thanks for the response.

I actually figured out what the problem was 10 minutes ago. I had to give three <td> tags an alignment value. align=”value”.

===========================

I’m having more problems with this page -->
~ If you view it in IE it looks good.
~ But if you view it in Netscape 4.7 the format is all off.

Each problem area on my test page is surrounded by a <div> tag that looks something like this:

[tt]<div id=&quot;Layer2&quot; style=&quot;position:absolute; left:304px; top:189px; width:143px; height:10px; z-index:155&quot;>[/tt]
Output on screen placed right here
[tt]</div>[/tt]


Is the output of my page messed up because I’m using the <div> tag?
I’ve never had a problem with this in the past.

===========================

Thanks for reading,
JennyW

===========================

Ohh, by the way cactus1000, I’m gonna stay away from making another site just for Netscape users. It’s just too much maintenance and work, besides I heard approximately 90 per cent of internetiers use MS. Regardless, thanks for the post and the idea, but I just need a simple solution to satisfy NS users.
 
for my experience NC doesn't recognize or doesn't parse properly inline style (your style=&quot;..&quot; in div tag) you have to use <style> or external css files with defined styles
somethink like:

<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;mycss.css&quot;>

& in that mycss.css:
#Layer2{
position:absolute;
left:304px;
top:189px;
width:143px;
height:10px;
z-index:155;}

& in your file just write

<div id=&quot;Layer2&quot;>
..

</div>

& defined style would be applyed

but note: onresize all styles are destroyed in netScrap (that is why it's called scrap) & you have to reload your page (these styles apply onload)

hope i made it a bit clearer.. Victor
 
Hi,

Cactus1000, you wrote:
I think that tables are causing the problem.

You were right, <tables> were causing the majority of my problems. I didn’t follow the instructions in your link, but instead it made me think to make a few adjustments involving tables.

The poll on my page: …contains the only piece of code on my page that uses <tables>…

So what I did was put the <table> at the end of my html. And then I put everything else in the code above the <table>.

Now the page seems to be looking as it should. Netscape still stinks though.

=======================

Vituz,
Thanks for the response.

=======================

Thanks cactus1000,
JennyW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top