[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

<tt> set to pre in CSS ?!



Hi,

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 ?

-- 
Simon Paillard


Reply to: