discuss: Updated CSS for HOWTOs
Subject:
Re: Updated CSS for HOWTOs
From:
"Chris Karakas" ####@####.####
Date:
20 Mar 2004 20:48:50 -0000
Message-Id: <200403202048.i2KKmEQ19792@mailgate5.cinetic.de>
Togan Muftuoglu ####@####.#### schrieb am 20.03.2004 21:24:52:
> * Chris Karakas; ####@####.#### on 20 Mar, 2004 wrote:
> >Nice idea. But a CSS for DocBook can only specify properties for classes that exist in the document. Does DocBook provide markup for differentiating
> >
> >- prompts
> >- user entered text, and
> >- program output?
>
> Even if it does not, use of "role" attribute can help so you can creat teh CSS based on the class
You seem to be missing my point: the HTML file is automatically created by Openjade. Does Openjade create the class or, as you suggest, role attributes? If not, you have to go through your HTML file and create them manually - each time you "render" your SGML or XML file to HTML you will have to do this.
Obviously, not a practical approach.
If you don't have the classes (or roles, if you want) that distinguish prompts, user entered text and program output already in the HTML file, no CSS can achieve that differentiation in the formatting.
---
Regards
Chris Karakas
http://www.karakas-online.de
_____________________________________________________________________
Extra-Konto: 2,50 %* Zinsen p. a. ab dem ersten Euro! Nur hier mit 25
Euro-Tankgutschein & ExtraPramie! http://extrakonto.web.de/?mc=021110