What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » [code] tags messed up

[code] tags messed up
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
O.P. [code] tags messed up
I always wondered why the contents of the [ code ] tags only sometimes displayed in a monospace font.

Take this thread for example: http://shoutbox.menthix.net/showthread.php?tid=55120

The first time I viewed it the contents of the [ code ] tag in the first post was using the Verdana font, and in the second post it was using Courier New. I looked at the source code and for the first one saw:

<span style="font-family: 'courier new',monospace;"><font face="verdana,tahoma,arial,helvetica" size="2"><br>

and the second:

<font face="verdana,tahoma,arial,helvetica" size="1">code: </font><hr color="#000000" size="1"><span style="font-family: 'courier new',monospace;">

After refreshing the thread, both posts were displayed with Courier New. The order of the <font> tags seem to be random.

Another thing, is there any chance you can change it to font-family: monospace; so it uses the browser's default monospace font? I prefer Consolas over Courier New, and I have that set as default.
The previous sentence is false. The following sentence is true.
01-21-2006 01:07 PM
Profile PM Find Quote Report
user27089
Disabled Account


Posts: 6321
Joined: Nov 2003
Status: Away
RE: [code] tags messed up
I noticed this too, I just thought it was a problem with the stylesheet not verifying correctly.
01-21-2006 01:11 PM
Profile PM Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: [code] tags messed up
hmm for a temporary fix (if you use firefox :P) you could use the @-moz-document css

simply insert the following into your userContent.css (in your profile folder)
code:
@-moz-document domain("msghelp.net") {
blockquote font, blockquote span{ font-family:Consolas !important}
}

replace "Consolas" with whatever font you like.


(ive already said this on irc but eh not everyone is on irc)

This post was edited on 01-21-2006 at 01:39 PM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
01-21-2006 01:38 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [code] tags messed up
bump... this bug drived me crazy while I was editing posts... (wil become even more noticeable I assume when people are starting to post scripts)
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-17-2006 10:47 AM
Profile PM Find Quote Report
Lou
Veteran Member
*****

Avatar

Posts: 2475
Reputation: 43
– / Male / Flag
Joined: Aug 2004
RE: [code] tags messed up
I suggested to wdz to make the code tags compatible for scripts...but now I realise he should completely recode them. That way, all the annoying bugs are gone(a)
[Image: msghelp.net.png]
The future holds bright things in it\\\'s path, but only time will tell what they are and where they come from.
Messenger Stuff Forums
04-17-2006 02:37 PM
Profile PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: [code] tags messed up
I'm not sure what the problem is (segosa's example looks normal in Opera), but I'll mess around with it tomorrow and see what I can do.

* WDZ just made this post so you won't feel ignored. :p
04-18-2006 07:04 AM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: [code] tags messed up
quote:
Originally posted by WDZ
I'm not sure what the problem is (segosa's example looks normal in Opera), but I'll mess around with it tomorrow and see what I can do.

* WDZ just made this post so you won't feel ignored. :p
* John Anderton keeps feeling ignored until dz finds a fix :refuck:
Tbh its a dodgy problem :-/ We really need it fixed so hopefully you can fix it :)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
04-18-2006 07:25 AM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: [code] tags messed up
OK, the [code] <blockquote> now has its own class in the stylesheet and the font-family is simply set to "monospace" (just like in MyBB 1.0).

I dunno if that will "fix" whatever you're complaining about... let me know... :p
04-19-2006 06:28 PM
Profile PM Web Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
O.P. RE: RE: [code] tags messed up
quote:
Originally posted by WDZ
OK, the [code] <blockquote> now has its own class in the stylesheet and the font-family is simply set to "monospace" (just like in MyBB 1.0).

I dunno if that will "fix" whatever you're complaining about... let me know... :p


Late reply, but it's working fine now... :P
The previous sentence is false. The following sentence is true.
05-11-2006 09:25 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On