Re: <tt> set to pre in CSS ?!
On Sat, Aug 27, 2011 at 09:36:52PM +0200, Simon Paillard wrote:
> On Tue, Aug 02, 2011 at 12:44:48AM +0200, Simon Paillard wrote:
> > 23:51 < scottmir> I've noticed two errors in french/News/2011/20110623.wml and two in the original english version, too
> > 23:53 < scottmir> fr: translation missing (line 33-34) and line feed missing (line 34)
> > 23:55 < scottmir> en: line feed inside <tt> tag (line 30) and libeoffice-gtk instead of libreoffice-gtk (line 33)
> > http://www.debian.org/News/2011/20110623.en.html
> >
> > It's because <tt> induces pre in CSS:
> >
> > tt, code {
> > color:black;
> > font-family:monospace;
> > white-space:pre;
> > }
> >
> > http://people.debian.org/~spaillard/website/debian-www-css-tt-and-pre.png
> >
> > What is the rationale behind changing this default ? Not use pre ?
>
> Unless someone objects with a good reason, I will remove 'white-space: pre'
> from tt and code, instead of finding and fixing all the affected pages.
Done.
--
Simon Paillard
Reply to: