Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CSS: Presentation in I.E. & Netscape

 
michael bradly
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • 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?
 
John Wetherbie
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
Ray Hunter
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic