I tried this with the default skin and it produced the same
html code,
but it displayed correctly.
> -----Original Message-----
> From: Jan.Materne rzf.fin-nrw.de [mailto:Jan.Materne rzf.fin-nrw.de]
> Sent: Tuesday, May 16, 2006 1:23 AM
> To: user forrest.apache.org
> Subject: AW: <code> to
class="codefrag"
>
> >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.
> >
> >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
|