• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

CSS: Presentation in I.E. & Netscape

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm starting to work with CSS and am noticing quite a difference in the presentation of I.E and Netscape. Thus far the appearance in I.E. has been very funtional, however in Netscape everything i s off. How does one go about obtaining some uniformity between the two browsers when it comes to CSS?
 
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sad to say, I had to leave a fair amount of stuff in the HTML to get things to work properly across IE and Netscape. So you have to replicate some of the things in your CSS in your HTML. At least I had to...
John
 
michael bradly
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So is it generally more productive to create two seperate sites and have a script to detect and direct the browser?
I take it from your response that it is possible to do this within the same HTML page. If so, what takes precedence within the document when it comes to the form and presentation?
 
John Wetherbie
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have seen most people put checks for the browser type in a single html page vs having separate pages or sites.
What causes some of the problems across IE & Netscape is that they support different options and that the things that they support in common display differently in some cases. So there isn't a problem with precedence, as far as I know, but with the fact that things display slightly differently and that you have different options available.
John
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IE 5.5 tends to be on the ball with conforming to the W3C standards on CSS2 and DOM. Netscape 4.7 tends to not fully support CSS2 and DOM.
What I tend to do is create various sites based on the browser that is being used by the client. Actually, I do not have completely different sites, I use different CSS files based on the browsers.
I like to always check for the browser and based on the browser I will do things different.
Netscape 6 tends to comply with many features of CSS2 and DOM; however, there are many bugs in the browser.
 
Water! People swim in water! Even tiny ads swim in water:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic