Re(2): Re(2): [Zope] Cascading Style Sheets in N etscape 6
Sure. In my CSS I have set up this variable:
.OAA { background-color: green; font-size: 20pt; font-weight: bold; color: gold; font-family: Arial, Helvetica, sans-serif; font-style: italic; }
I refer to it in the code of my <standard_html_header> as:
<TD class="OAA" align="center">OUTDOOR ADVENTURE ACTIVITIES</TD>
Works fine in Netscape 4.75, but not at all in Netscape 6. I have created other similar variables and Netscape 6 doesn't recognise any of them. The only part of my CSS is does recognise is:
Two things spring to my mind: 1) I heard that Netscape does not like spaces in the definition of stylesheets, especially around the colon. 2) Some versions of Netscape require JavaScript to be enabled to handle CSS, I don't know if this is true for version 6. hth werner -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Spaces dont seem to be a problem. I have this css on my site and i just verified it with NS6.01.2001013114: <style> .dtitle { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: bold; color: #0066CC; text-decoration: none; background-color: #000066} .title { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: bolder; color: #0066CC; text-decoration: none} .date { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; color: #FFFFFF; text-decoration: none} </style> Paz -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of ws-news@gmx.at Sent: Thursday, April 05, 2001 4:24 PM To: zope@zope.org Subject: Re(2): Re(2): [Zope] Cascading Style Sheets in N etscape 6
Sure. In my CSS I have set up this variable:
.OAA { background-color: green; font-size: 20pt; font-weight: bold; color: gold; font-family: Arial, Helvetica, sans-serif; font-style: italic; }
I refer to it in the code of my <standard_html_header> as:
<TD class="OAA" align="center">OUTDOOR ADVENTURE ACTIVITIES</TD>
Works fine in Netscape 4.75, but not at all in Netscape 6. I have created other similar variables and Netscape 6 doesn't recognise any of them. The only part of my CSS is does recognise is:
Two things spring to my mind: 1) I heard that Netscape does not like spaces in the definition of stylesheets, especially around the colon. 2) Some versions of Netscape require JavaScript to be enabled to handle CSS, I don't know if this is true for version 6. hth werner -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Paul Zwarts wrote:
Spaces dont seem to be a problem. I have this css on my site and i just verified it with NS6.01.2001013114:
<style> .dtitle { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: bold; color: #0066CC; text-decoration: none; background-color: #000066} .title { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: bolder; color: #0066CC; text-decoration: none} .date { font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; color: #FFFFFF; text-decoration: none} </style>
Paz
Have you tried <style type="text/css"> ... </style> There is more than one style sheet language and Mozilla might be picky about specifying it explictly. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
Have you tried
<style type="text/css"> ... </style>
Just tried that as well - it doesn't make any difference to Netscape 6. ------------------------------------------------- Craig Stoddart IT Software Development Officer Dundee City Council IT Division Northern College Technical Block Gardyne Road Dundee DD5 1NY Phone: 01382 438170 Fax: 01382 438002 E-mail: craig.stoddart@dundeecity.gov.uk -------------------------------------------------
participants (4)
-
Casey Duncan -
Craig Stoddart -
Paul Zwarts -
ws-news@gmx.at