Computers |
|
| | #1 (permalink) |
| Banned Join Date: Oct 2006
Posts: 82
| I am stumped on how to use two different style sheets (.css ) to make a website compatible w/Explorer and Mozilla. I am not even sure if my last statement is how you go about making a website multi-browser compatible?? I would be grateful if someone could help me out w/this design issue. Cheers, Williwaw |
| | |
| | #3 (permalink) |
| Techoholic | I think it is called Cross-browser design anyways. If something works in Firefox so it does in IE, so code it just for firefox as CrazeD said.
__________________ Mike from Greece, 15 ![]() http://michael92.deviantart.com/ <-- My DeviantART Do not click here |
| | |
| | #4 (permalink) |
| Banned Join Date: Oct 2006
Posts: 82
| I design all of my code/languages for Mozilla. You may have noticed that all browsers do not read all code/languages the same. It is not a matter of code not working, but rather a matter of implementing multiple Style Sheets to satisfy multiple browsers. Anyway, here is the fix I was looking for. Code: <script> <!-- var n=navigator.appName var ns=(n=="Netscape") var ie=(n=="Microsoft Internet Explorer") if (ns) location="index_1.css" else if (ie) location="index_2.css" //--> </script> Williwaw |
| | |
| | #5 (permalink) | |
| Commander Super Mod Joker Join Date: Sep 2004 Location: In Trotter's crawl space
Posts: 15,652
| Quote:
![]() But he was right. It is jsut a code that helps identify which browser you are using and to load the appropiate CSS. Most sites are coded for IE/Mozilla. But with Acid2 becoming really popular even those browsers are trying to get themselves to pass the test now. Mozilla Firefox 3 and IE8 are slated as to pass teh Acid2 along with Opera. So the coding for websites will start to clear up and be the same no matter which browser you use. Which is what we want. ![]() | |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Browser Security Test | Osiris | Browser & General Internet Questions | 12 | 02-15-2008 05:29 PM |
| How To Design The Photo For The Company Presentation? | david55 | Web Graphics, design, digital images | 1 | 10-21-2007 09:56 AM |
| Cloud Web Browser | TimoSalomäki | Browser & General Internet Questions | 8 | 10-12-2007 10:57 AM |
| Help with a Browser for my Razr V3i | DerekGoodson | Phones – PDA’s – Bluetooth – Other handhelds | 2 | 04-19-2007 08:33 PM |