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!

CSS and images 1

Status
Not open for further replies.

cschaffer

IS-IT--Management
Aug 21, 2001
196
CA
Hi there, I am using CSS simply to define a backgound image, so the images don't tile...while this works great in IE of course it looks terrible in NS 4.78...but good in 6.01....is this a common prob in NS 4.78 not being able to read simple CSS....should i not waste my time trying to solve it and not allow NS persons to view my site??!!

If you care you can check out what I mean if you have IE and NS 4.78 try the link with both browsers!!

then click to the success stories on the right....check out other links in the TOC as well for more examples!!

Thanks for your input!!!

CS
 
Well I am sorry to say that NS 4 does not support many css tags. And one of them is the positioning. However on the brighter side not many people are using it anymore, at least according to recent polls. However if you still want to accomidate them I would just make a second css sheet that leaves the background out for NS users.

Roj
 
I would do the following:

<style type=&quot;text/css&quot;>
<!--
@import &quot;yourstylesheet.css&quot;;
-->
</style>

The stylesheet will only been seen by IE5+, Netscape 6+, and most other CSS compliant browsers. That way your site looks sharp in the good browsers, but still useable in the old ones. For an example check out:


look at that in Netscape 4.x and then IE5.x or Netscape6.x.... and notice its the SAME HTML, not two different pages. ===
Supports Mozilla and Web Standards
Knows HTML/XHTML, CSS1, JavaScript, PHP, C++, DOM1
===
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top