Forum: bad css for code blocks

Report new bugs here, or look at known issues of current and previous releases of UBCD.

Moderators: Icecube, StopSpazzing

Locked
Message
Author
kewrowk
Posts: 15
Joined: Thu Mar 22, 2007 7:06 pm

Forum: bad css for code blocks

#1 Post by kewrowk » Sat Mar 31, 2007 5:02 am

I've just noticed that this forum is using a wrong css for the code blocks, i.e. it is not using a monospace font if the named ones are not available. Currently it's

Code: Select all

/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif;
but it should be

Code: Select all

/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', monospace;

Victor Chew
Posts: 1359
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

#2 Post by Victor Chew » Sun Apr 01, 2007 4:25 am

Thanks! I have just fixed the CSS code.

kewrowk
Posts: 15
Joined: Thu Mar 22, 2007 7:06 pm

#3 Post by kewrowk » Thu May 10, 2007 5:48 am

Victor Chew wrote:Thanks! I have just fixed the CSS code.
Erm ... no, you didn't. :)
It's still

Code: Select all

.code {
	font-family: Courier, 'Courier New', sans-serif;

Constance
Posts: 338
Joined: Fri Sep 23, 2005 1:21 am
Location: France

#4 Post by Constance » Thu May 10, 2007 6:06 am

I think he did, but also updated the forum software after ... I guess that issue should be reported to the phpbb team so that they fix it in their releases.
Hammerite Compendium of Precepts, Regimens and Rules of Conduct, Vol. 113 :
A stroke of thy chisel, once made, canst be undone, but a stroke thou dost not make from fear is a worse flaw.
Be not cautious - be correct.

Victor Chew
Posts: 1359
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

#5 Post by Victor Chew » Fri May 11, 2007 5:17 am

Constance is right. The patch was broken by the latest forum update.

I will patch it again, and feedback the issue to the phpBB team.

Locked