forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bert Van Kets <>
Subject Re: [Patch] [Questions] XSLT, CSS and Browser support
Date Fri, 31 May 2002 07:33:01 GMT
I am in the process of creating a new version of the default skin for 
Forrest.  I am sending it to Steven today.  The differences are a bit too 
big to make a diff file, certainly in teh site2xhtml.xsl file.
I actually created a whole new page keeps the current look, apart from 
rounded corners, but is viewable in most every browser you can think of, 
including Lynx, Netscape 4.08 and Netscape 4.7!
To my opinion we must maintain that compatibility and are therefor obliged 
to use <font> tags.  If we replace them by CSS the site will not be usable 
by the older browsers.  We don't want that, do we?  Besides, have you 
looked at the current forrest site with Netscape 4.08????  VERY ugly!
I think that CSS can be used to make the page more appealing, but not as a 
basic page building tool.

You are right about the use of pixedl hights, but the reason to use ems is 
that the fonts remain scalable.  Pixel sizes are absolute sizes and 
therefor not scalable.  Since IE does not have a zoom function, we must use 
ems (M$ again!)

IMHO we have come to the decision that we must support as many browsers as 
possible to make sure that the site can be viewed be all these techi guys 
using older browsers on *nix.  The content pane of the site can use CSS 
since it will make the creation a lot simpler (as you already pointed out).

Feel free to create a skin of your own and commit ;-)  It's not hard to do.


At 10:27 30/05/2002 -0700, you wrote:
>I have a questions related to the skin (downloaded today from
>1. I am looking at the Forrest XSLT sources and see the following construct
><xsl:when test="$level=1">
><font color="#0086b2" size="+2" face="verdana, helvetica, sans serif">
><xsl:value-of select="@title"/>
><hr size="1" style="color: #0086b2"/>
>Wouldn't  this be best served by creating a special class for either P or
>H1? Below is what I had in mind
>h1.section1 {
>font-size : 1.2em;
>font-color : #0086b2;
>font-family : verdana, helvetica, "sans serif"
>And then leave the template as:
><xsl:when test="$level=1">
><h1 class="section1">
><xsl:value-of select="@title"/>
><hr size="1" style="color: #0086b2"/>
>2. The CSS stylesheet uses pixels as a measurement unit. Everywhere I've
>read it says that pixels are not a good unit to use because they are
>dependent on the monitor size (and the same font will display differently on
>Mac and PCs anyway) I've attached a diff file of the CSS stylesheet with all
>px measurements changed to em.
>3. Has a policy been made in terms of browser support? I would like to see
>Forrest supporting CSS compliant browsers only.
>Carlos E. Araya
>---+ WebCT Administrator/Trainer
>  P | California Virtual Campus
>  - | C/O De Anza College
>  G | 21250 Stevens Creek Blvd
>---+ Cupertino, CA 95014
>web        (work)
>            (personal)
>phone               408 257 0420 (work)
>PGP Fingerprint:    E629 5DFD 7EAE 4995 E9D7  3D2F 5A9F 0CE7 DFE7 1756
>Three things are certain:
>Death, taxes, and lost data.
>Guess which has occurred.

View raw message