forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnson, Eric" <Eric.John...@iona.com>
Subject RE: AW: <code> to class="codefrag"
Date Tue, 16 May 2006 13:28:16 GMT
Jan,
Thanks for the suggestion. It worked perfectly and was easier than trying to figure out which
stylesheet in the skin to modify.
Cheers,
Eric


> -----Original Message-----
> From: Johannes Schaefer [mailto:johannes.schaefer@uidesign.de]
> Sent: Tuesday, May 16, 2006 6:37 AM
> To: user@forrest.apache.org
> Subject: Re: AW: <code> to class="codefrag"
> 
> 
> 
> Jan.Materne@rzf.fin-nrw.de wrote:
> >> How do I get <code> elements to display correctly in HTML output? Using
> > 0.7 and the tigris skin
> >> using <code> elements generates into <span class="codefrag">. The
> > stylesheet does not have a setting for codefrag.
> 
> try adding to the <exta-css> section of your skinconf.xml,
> maybe something like this
> 
> .codefrag {background-color:lightgray; font-family:courier;}
> 
> hope this helps
> Johannes
> 
> 
> >> Can I change the generation so that it generates <span class="code"> or
> > should I add codefrag to the stylesheet?
> >
> >
> >>From them HTML/CSS point of view, there is no difference between
> >    <span class="code">
> > and
> >    <span class="codefrag">
> > You should have a CSS-selector catching that element ( .code .codefraq )
> > for enhanced visualisation.
> >
> > I dont know if Forrest provides extra stylesheets for that, but I think
> > it would be easier to adopt the
> > stylesheet instead the skin.
> >
> > But maybe you found a bug in the tigris skin ;-)
> >
> > What is the result if you use another skin?
> >
> >
> >
> > Jan
> >
> 
> --
> User Interface Design GmbH
> Teinacher Str. 38, 71634 Ludwigsburg
> Fon:      +49-7141-37700-0
> Fax:      +49-7141-37700-99
> Email:    jschaefer@uidesign.de
> Internet: www.uidesign.de
> 
> Geschäftsstellen:
> Teinacher Str. 38,    71634 Ludwigsburg
> Truderinger Str. 330, 81825 München
> Friedrichsring 46,    68161 Mannheim
> 
> Buch "User Interface Tuning" von Joachim Machate & Michael Burmester
> www.user-interface-tuning.de
> 
> Attraktivität von interaktiven Produkten messen mit
> www.attrakdiff.de


Mime
View raw message