-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Not exactly. With the script approach, you can add common HTML code to
the article: header, footer, etc. With CSS you can't.

Likewise, you can even create a WAP page, or an HTML page tuned for
AvantGo. Again, with CSS you can't.

Another advantage is that you can make things simpler. With CSS you
make things worse: The author besides having to make the article in
proper HTML, will have to know how to use styles. You can create
different tags and "map" them to the correct HTML tag (with the correct
CSS class). But this, by itself, is a topic of long discussion :)



On Mon, 1 Apr 2002 17:29:37 -0500, David A. Bandel wrote:

>On Mon, 01 Apr 2002 19:19:03 -0300
>begin  "Federico Voges" <[EMAIL PROTECTED]> spewed forth:
>
>[snip]
>> 
>> I know I might be getting a bit off topic with this, but I think it's
>> worth giving it a thought. 
>> You can't use scripting because of the mirrors. BUT, you can still use
>> scripting to generate static HTML specially articles/steps.
>> 
>> Right now, if you want to change anything in the style of the pages,
>> you have to edit ALL of them. It's a real pain.
>> 
>> Now, if you use some kind of HTML neutral markup (be it: XML, a HTML
>> subset, or whatever you like), you can use a script with a template to
>> generate all the static pages. It might be even simplify the steps
>> author's work.
>> 
>
>This is what CSS is all about.  you have a linux-sxs.css with some
>declared values, like:
>
>html.index { color: #009 ; background-color: #ffc }
>body.index { color: #009 ; background-color: #ffc }
>body.pananix { color: #009 ; background-color: #ffc ; text-align: left ;
>background-image: url(http://www.pananix.com/images/chiricano2.gif) ;
>background-position: top right ; background-repeat: no-repeat ;
>background-attachment: fixed } table.index { color: #009 ; text-align:
>center ; width: 100% } td.index { color: #009 ; text-align: center }
>td.linkdex { color: #009 ; text-align: center ; word-spacing: 1em }
>tr.index { color: #009 ; text-align: center }
>h1.index { color: darkblue ; text-align: center }
>h2.index { color: darkblue ; text-align: center }
>h2.rtext { color: red ; text-align: center }
>.pananix { color: #009; text-align: left }
>.index { color: #009; text-align: center }
>p.copyright { text-align: center; font-size: -8 }
>p.copyright:after { content: "Copyright© 1999-2002 Pananix, SA, All Rights
>Reserved." } A:link { color: #0000EF }
>A:visited { color: #51188E }
>A:active ( color: #36f }
>
>Then, each page uses markups like:
>
><body class="pananix">
>
>and it uses the body.pananix markup for the entire page from the above
>definition.
>
>Ciao,
>
>David A. Bandel
>-- 
>Focus on the dream, not the competition.
>               -- Nemesis Racing Team motto
>_______________________________________________
>Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
>Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Federico Voges
Socio gerente

Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina

Te/Fax: 54-11-4833-5182
e-mail: [EMAIL PROTECTED]
Web: http://www.intrasoft.com.ar

PGP Public Key Fingerprint: A536 4595 EB6F D197  FBC1 5C3A 145C 2516

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its 
affiliated companies.

iQA/AwUBPKjmCxRcJRaVKt4XEQKXiQCg6NQ8Hx8M8I42dMxIzJgjlzGniw0AnjPg
JqrFoLBisY0aYvDB1ysxDBah
=aS+e
-----END PGP SIGNATURE-----




_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to