View Full Version : css in netscape and ie
Terryy 08-02-2008, 11:44 PM Hi i have search around but could not really find anything that helps as im trying to create an css external sheet that blends well with netscape and ie older versions but when i use the @import command or href"styles.css" i got error msg in dreamweaver saying its not supported in various versions of netscape and ie....can anyone help?? thanks
Jatinder 08-03-2008, 03:15 AM If you just want to link to an external CSS file, use:
<link rel="stylesheet" type="text/css" href="mystyles.css" />
@import is used to include external stylesheets into another stylesheet.
Take a look at:
http://brainjar.com/css/using/default6.asp
and
http://css-discuss.incutio.com/?page=ImportHack
usna1 08-03-2008, 01:50 PM Focusing on old browsers? I see no point: IE6 and Firefox 1 are already quite outdated, why would you go back as far as 1990s' browsers?
Terryy 08-09-2008, 10:56 PM I get these errors when i code in dreamweaver:
The xmlns attribute of the HTML tag is not supported, but it has no detrimental effect. [Netscape Navigator 6.0, Netscape Navigator 7.0, Netscape Navigator 8.0]
Found 1 errors in external css files [Microsoft Internet Explorer 5.0, Microsoft Internet Explorer 5.5, Microsoft Internet Explorer 6.0]
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
- When I input this code, the red text was highlighted in red as error and 2 error msg shown in the target browser check...anyone can help??
vibrokatana 08-09-2008, 11:10 PM Focusing on old browsers? I see no point: IE6 and Firefox 1 are already quite outdated, why would you go back as far as 1990s' browsers?
Some of the older systems (ie win98 and I think win2k) can't install IE7 and may have issues with newer browsers. Also some people don't update or refuse to. IE6 market share is going down, but unfortunately it is still a good practice to support it.
Ledzf 08-10-2008, 06:52 AM You can take a look at this site:
http://www.digbyswift.com/development/css/filters/
http://imfo.ru/csstest/css_hacks/import.php
Those CSS hacks were useful for some specific browsers.
JustinSmall 08-10-2008, 01:53 PM I'm one of those people that say 'let history fall into history, and be apart of the future' ... There is no reason not to update to the latest browsers, people being stubborn.
I for one am not going to go out of my way to make my website viewable by people who still use the original rock wheel. They want to be able to view all of the latest and greatest stuff when it comes to websites, but they don't want to leave 'ie6' behind??? Come on... seriously.
============
Edit:
http://www.w3schools.com/browsers/browsers_stats.asp
Check this out, 25.3% of people still use IE6... those aren't all people looking to view your 'anime website' or 'linkin park fansite' :) not saying those are yours, just saying... a lot of those are for people who are still trying to invent the wheel :) People who just get on to view their email, maybe play a game of tetris on yahoo :p
vibrokatana 08-10-2008, 02:03 PM I'm one of those people that say 'let history fall into history, and be apart of the future' ... There is no reason not to update to the latest browsers, people being stubborn.
I for one am not going to go out of my way to make my website viewable by people who still use the original rock wheel. They want to be able to view all of the latest and greatest stuff when it comes to websites, but they don't want to leave 'ie6' behind??? Come on... seriously.
============
Edit:
http://www.w3schools.com/browsers/browsers_stats.asp
Check this out, 25.3% of people still use IE6... those aren't all people looking to view your 'anime website' or 'linkin park fansite' :) not saying those are yours, just saying... a lot of those are for people who are still trying to invent the wheel :) People who just get on to view their email, maybe play a game of tetris on yahoo :p
The business I work for only recently updated to IE7 due to problems with some active script plugins not working properly in 7. Supporting IE6 is easy if you use a computability tool like the one built into dream weaver (which for the most part gets all the issues and gives fixes). Assuming that 25% of the market share isn't going to browse your site seems like your trying to shoot yourself in the foot.
JustinSmall 08-10-2008, 03:33 PM Sad to hear that your business just recently updated to IE7 :P seeing as IE7 was released October 18, 2006 (Sourece: Wikipedia + more)
vibrokatana 08-10-2008, 04:08 PM Sad to hear that your business just recently updated to IE7 :P seeing as IE7 was released October 18, 2006 (Sourece: Wikipedia + more)
Not my decision, if it was me all the machines would have firefox with IE disabled unless it was needed for a good reason.
Terryy 08-16-2008, 01:35 AM You can take a look at this site:
http://www.digbyswift.com/development/css/filters/
http://imfo.ru/csstest/css_hacks/import.php
Those CSS hacks were useful for some specific browsers.
I follow the second url u gave using the code "<@import url("style.css");>" but i still get the msg that @import in ie 6 etc. not supported...any idea? becoz the website shows compability with all....??
vibrokatana 08-16-2008, 01:46 AM I follow the second url u gave using the code "<@import url("style.css");>" but i still get the msg that @import in ie 6 etc. not supported...any idea? becoz the website shows compability with all....??
You have to put the import in style tags.
Mii Host 08-16-2008, 01:09 PM Yes put them in style tags and tell us what happened?
Terryy 08-16-2008, 10:16 PM <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http:// www.w3.org/TR/xhtml1/ DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>My Webpage</title>
<style>
<@import url("styles.css");>
</style>
</head>
<body>
</body>
</html>
Errors i got:
Error parsing styles [Microsoft Internet Explorer 5.0]
The xmlns attribute of the HTML tag is not supported, but it has no detrimental effect. [Netscape Navigator 6.0, Netscape Navigator 7.0, Netscape Navigator 8.0]
Any idea how to make it support ie 5 as well and also the html tag to be supported in Netscape and to be a valid xhtml document.??
vibrokatana 08-16-2008, 10:20 PM <style type="text/css"> @import url("styles.css"); </style>
Terryy 08-16-2008, 10:30 PM <style type="text/css"> @import url("styles.css"); </style>
If i do this code, i get same previous error: Found 1 errors in external css files [Microsoft Internet Explorer 5.0, Microsoft Internet Explorer 5.5, Microsoft Internet Explorer 6.0]
DigitalDeviation 08-22-2008, 10:04 AM Focusing on old browsers? I see no point: IE6 and Firefox 1 are already quite outdated, why would you go back as far as 1990s' browsers?
I'm one of those people that say 'let history fall into history, and be apart of the future' ... There is no reason not to update to the latest browsers, people being stubborn.
I for one am not going to go out of my way to make my website viewable by people who still use the original rock wheel.
Both are wrong schools of thought with regards to web design. You should expect that not everyone is using the latest, greatest, or bleeding-edge browsers. Obviously not people that have been in the "corporate" world very long/at all, huh?
I can think of about 800+ users right now that don't have IE7. All of them are employees that I support at the companies I work for. Some web based applications (older) have quirky issues and businesses are stuck until the companies correct the issues.
I'm not saying you should still be trying to make IE4 work. You just can't assume that everyone is using the latest.
|