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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape?@!$???........Whats that? 3

Status
Not open for further replies.

YodaMan81

Technical User
Jul 8, 2003
94
US
I have a website which when I view in IE looks fine but when I viewed it in Netscape 7.1 looked quite messed up.
I have for example, a bar (to serve as a divider) I created using MS Paint and saved it as a gif. It does not show up in netscape.

I am assuming there has to be some sort of a FAQ that I was unable to find. If someone could clue me in that would be much appreciated.
 
A gif should still show up. However, NetScape is very unforgiving of missing HTML - especially in your tables. Make sure that all open TABLE, TR, TH, and TD tags have been closed. Unlike IE, NS will not assume that you meant to close a TD when you open a new one....

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

fart.gif
 
Ok so I am going to just answer my question because I realized why that was happening. I am sure most of you would already know this but for any other rookies (like myself) out there...

I had originally written
src="images/bar.gif" which seems to work in Internet explorer.

but I just learned that you have to actually write the whole thing in order for them to work
ie. src="
 
Thanks Mwolf...I will keep that in mind for the future!
 
I'd have to check for myself; if "images/bar.gif" doesn't work in Netscape, then I believe that "/images/bar.gif" does. IE has many auto-corrections that it does on mistakes that Netscape is not built to handle. Another thing I've seen is sometimes the author will use the wrong slash, using "\" instead of "/". IE will auto-correct & use the proper slash while Netscape does not.
 
YodaMan81,

You don't have to use fully qualified paths in Netscape or IE, you can use relative paths in both browsers.

Steve
 
To clarify: if your page is at
<img src=&quot;image.jpg&quot;>
will look for (i.e. in the current directory)

<img src=&quot;images/image.jpg&quot;>
will look for (i.e. relative to the current directory)

<img src=&quot;/images/image.jpg&quot;>
will look for (i.e. relative to the root directory)

This will be true for ALL browsers.

-- Chris Hunt
 
The overwhelming majority of webizens use IE for browsing. However, because IE &quot;fixes&quot; HTML if it thinks it's broken, you should ALWAYS develop for the rather small Netscape/Mozilla audience.

Most of the time, if it works in Netscape it will work in IE. Therefore, by developing for NS you kill two birds with one stone. Install NS on your development workstation and make sure your pages look correct using it. If they do, they will most likely look right in IE.

Of course, there are several differences in the way that each browser handles CSS (because none of the major developers will follow the @#&!ing standard)[mad]. So, if you're using CSS, you'll have your work cut out for you to get it to work properly in both browsers.

At any rate, good luck,
-Ron

-We all play from the same deck of cards, it's how we play the hand we are dealt which makes us who we are.
 
Chris,

Good follow-up explanation. Here's a star.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top