> >7) CSS - I think we should keep the Stylesheet file but we should not
> >include it in everypage. We should use it as an external
> stylesheet. We can
>
>   If external it is cached.  Why not include it in every page
> then?  The few bytes for the line to be read?  OS's are quite
> good at reading files.  I think having one place to change the
> look is another GoodThing.
>

Actually being referencing an external style sheet vice including the style
sheet as is done in FreeTrade as it comes should not change performance at
all.  But having the style sheet cached should not cause any problems though
if the style sheet is well written.  Personally I have removed all of my
style sheet except:

<style><!--
a:link, a:visited, a:active { text-decoration: none; }
a:hover { color: #ff1025; }
--></style>

The anchor styles are in just for the hover color change (which only works
on Netscape6 and Explorer4+, maybe later even).  Body should be defined here
and will be once I have the time to rewrite the sheet.  Even still, all the
body style would be doing is overriding the <body> setting already made in
the html.  I am not performing any nifty css tricks with body atm so I do
not need it.  Most browsers will either not render or else screw up styles
applied to table tags.  So the table tags are not in there.  I am not
currently using any divisions or paragraphs, so those are out.  Span would
be in, if I have the need to define a number of styles for inside tables.  I
am currently doing this with font tags.  As some may know font tags are a
tag on their way out of the spec at w3s, but not till sometime after xhtml
1.0.  Span can replace them easily.  Basically the point so far is FreeTrade
as it is currently written produces virtually no output that could benefit
from css.

Replacing many of the tables used for controlling layout to divisions though
would change the usefulness of a style sheet quite a bit.  I will be
removing most of the tables from my FreeTrade in the near future.  Layout
with the tables is slow a clumsy.  Sometimes bazaar things happen when
nesting tables, especially in any Netscape before 6.  Bazaar things also
happen in css layout if you do not know how various browsers handle things.
I have found the less you put in a style sheet the better.  Limit what you
control to the bare minimum.



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to