Robert
|
| Posted: 03/06/2002, 5:24 PM |
|
Recently realized that, at least some of, the style sheets included in CodeCharge are not browser agnostic. For examples 'Windows" looks great in IE but doesn't render well at all in earlier versions of Navigator.
How are others dealing with this ?
Has anyone created any browser neutral CSS that they would be willing to share ? I'd do it myself but know nothing about StyleSheets.
Thank you in advance !
-Robert
|
|
|
 |
Nicole
|
| Posted: 03/07/2002, 1:35 AM |
|
As I know styles for CC2.0 should look the same in IE and Netscape
|
|
|
 |
Robert
|
| Posted: 03/07/2002, 3:32 PM |
|
Hello Nicole;
Thank you for the reply. The company I'm working at has two browser standards. Navigator 4.08, and I.E. 5.5. The style sheets don't render well in Navigator 4.08. I don't know style sheets at all. I suppose I need to determine what is supported by both browsers and then build some style sheets. Perhaps I'll find something already complete on the web.
-Robert
|
|
|
 |
catalyse
|
| Posted: 03/30/2002, 3:33 AM |
|
Some experience with CSS - I use LINK with an external CSS and have IE5.5, NS3/4.79/6.2 and Opera 6.01 installed for testing purposes.
1. You need to be careful with "border-width" (e.g. for a table), if you set this to "1" the result is disasterous on the Opera browser - huge thick lines! You must specify "1px" or "thin". Also some options such as "outset" and different colours for each edge don't seem to be well supported so test them.
2. Netscape 4 tables do not inherit the BODY font characteristics so you will not get what you expect unless you explicitly specify it for TD.
3. Font sizes vary wildly so "small" really means large on IE, small on NS and tiny on Macs. The best compromise seems to be to specify it in points e.g. "10pt". This is frowned on from an accessibility point of view but in practice the user can overide it if they prefer larger fonts. In NS and Opera the normal "text size" still works, but in IE the user has to go into the accessibility options and check "ignore font sizes".
4. Very old browsers (e.g. Navigator 3) ignore CSS altogether so you end up with a grey page with nothing defining the table edges. It is at least viewble but not a pretty sight! It would be nice if CC allowed the BGCOLOR to be defined in <PAGE> and <TD> - this would at least allow a fallback (the CSS in newer browsers overrides these HTML parameters). The required format is simply:
<body class="PageBODY" bgcolor="#c8c8F8">
<td class="ColumnTD" bgcolor="#FFCC66">
I have tried this manually on one of my sites (http://thedanceguide.com) and the main page has this but the rest are the default (grey!) results. I realise there are not many people using these old browsers but it would involve little effort if done in CC rather than having to manually edit the templates.
Otherwise I find CSS is great but it must be checked on lots of browsers!
Neil.
|
|
|
 |
|