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

[code][/code] suggestion
Author: Message:
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: [code][/code] suggestion
css code:
/* keywords */
.geshi_code.php .kw1 {color: #b1b100;} /* language constructs (require, foreach, return) */
.geshi_code.php .kw2 {color: #000000; font-weight: bold;} /* constants */
.geshi_code.php .kw3 {color: #990000;} /* functions */
/* comments */
.geshi_code.php .co1 {color: #666666; font-style: italic;} /* single-line starting with "//" */
.geshi_code.php .co2 {color: #666666; font-style: italic;} /* single-line starting with "#" */
.geshi_code.php .co3 {color: #0000cc; font-style: italic;} /* heredoc and nowdoc */
.geshi_code.php .co4 {color: #009933; font-style: italic;} /* phpdoc */
.geshi_code.php .coMULTI {color: #666666; font-style: italic;} /* multi-line */
/* string escape sequences */
.geshi_code.php .es0 {color: #000099; font-weight: bold;}
.geshi_code.php .es1 {color: #000099; font-weight: bold;} /* simple single-char (\r\n\t) */
.geshi_code.php .es2 {color: #660099; font-weight: bold;} /* hexadecimal notation (\xAF) */
.geshi_code.php .es3 {color: #660099; font-weight: bold;} /* octal notation (\123) */
.geshi_code.php .es4 {color: #006699; font-weight: bold;} /* variables */
.geshi_code.php .es5 {color: #006699; font-weight: bold; font-style: italic;} /* cascaded variables */
.geshi_code.php .es6 {color: #009933; font-weight: bold;} /* format strings */
.geshi_code.php .es_h {color: #000099; font-weight: bold;}
/* brackets */
.geshi_code.php .br0 {color: #009900;}
/* symbols */
.geshi_code.php .sy0 {color: #339933;}
/* strings */
.geshi_code.php .st0 {color: #0000ff;}
.geshi_code.php .st_h {color: #0000ff;}
/* numbers */
.geshi_code.php .nu0 {color: #cc66cc;} /* integers */
.geshi_code.php .nu8 {color: #208080;} /* octal (0777) */
.geshi_code.php .nu12 {color: #208080;} /* hex (0xAF) */
.geshi_code.php .nu19 {color:#800080;} /* floating-point */
/* methods */
.geshi_code.php .me1 {color: #004000;}
.geshi_code.php .me2 {color: #004000;}
/* variables */
.geshi_code.php .re0 {color: #000088;}
That's just for PHP; each language has its own styles, and the class names used can vary.

BTW, when I said 17, I meant unique colors. You could have 27 different colors, but that's probably overkill. =p

I tried to comment the CSS with descriptions of what each class is for, but even I don't understand some of it. :p

This post was edited on 12-22-2008 at 10:02 PM by WDZ.
12-22-2008 08:51 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[code][/code] suggestion - by matty on 07-24-2008 at 01:21 PM
RE: [code][/code] suggestion - by John Anderton on 07-24-2008 at 02:17 PM
RE: [code][/code] suggestion - by Spunky on 07-24-2008 at 02:21 PM
RE: [code][/code] suggestion - by Nathan on 07-24-2008 at 03:03 PM
RE: RE: [code][/code] suggestion - by Vilkku on 07-24-2008 at 08:14 PM
RE: [code][/code] suggestion - by aNILEator on 07-24-2008 at 04:15 PM
RE: [code][/code] suggestion - by Spunky on 07-24-2008 at 05:08 PM
RE: [code][/code] suggestion - by joey on 07-24-2008 at 05:59 PM
RE: [code][/code] suggestion - by vaccination on 07-24-2008 at 08:34 PM
RE: [code][/code] suggestion - by Nathan on 07-24-2008 at 09:36 PM
RE: [code][/code] suggestion - by vaccination on 07-24-2008 at 09:45 PM
RE: [code][/code] suggestion - by Lou on 07-24-2008 at 11:33 PM
RE: [code][/code] suggestion - by Eljay on 07-25-2008 at 12:04 AM
RE: [code][/code] suggestion - by Adeptus on 07-25-2008 at 07:01 AM
RE: [code][/code] suggestion - by vaccination on 07-25-2008 at 07:51 AM
RE: [code][/code] suggestion - by CookieRevised on 07-25-2008 at 10:45 AM
RE: [code][/code] suggestion - by Felu on 07-25-2008 at 11:38 AM
RE: [code][/code] suggestion - by Thor on 07-25-2008 at 11:42 AM
RE: RE: [code][/code] suggestion - by Vilkku on 07-25-2008 at 11:45 AM
RE: [code][/code] suggestion - by Eljay on 07-25-2008 at 11:47 AM
RE: [code][/code] suggestion - by Felu on 07-25-2008 at 11:51 AM
RE: [code][/code] suggestion - by John Anderton on 07-25-2008 at 01:15 PM
RE: [code][/code] suggestion - by andrewdodd13 on 07-25-2008 at 04:00 PM
RE: [code][/code] suggestion - by CookieRevised on 07-26-2008 at 03:37 PM
RE: [code][/code] suggestion - by matty on 07-26-2008 at 03:47 PM
RE: [code][/code] suggestion - by mattisdada on 07-29-2008 at 07:21 AM
RE: [code][/code] suggestion - by Chrono on 07-29-2008 at 11:22 AM
RE: [code][/code] suggestion - by NanaFreak on 07-29-2008 at 11:41 AM
RE: RE: [code][/code] suggestion - by Vilkku on 07-29-2008 at 12:35 PM
RE: [code][/code] suggestion - by matty on 07-29-2008 at 12:53 PM
RE: [code][/code] suggestion - by L. Coyote on 07-29-2008 at 02:23 PM
RE: [code][/code] suggestion - by ShawnZ on 07-29-2008 at 02:39 PM
RE: [code][/code] suggestion - by L. Coyote on 07-29-2008 at 02:55 PM
RE: [code][/code] suggestion - by Menthix on 07-29-2008 at 03:02 PM
RE: [code][/code] suggestion - by L. Coyote on 07-29-2008 at 03:07 PM
RE: [code][/code] suggestion - by ShawnZ on 07-29-2008 at 03:07 PM
RE: [code][/code] suggestion - by WDZ on 07-30-2008 at 04:25 AM
RE: [code][/code] suggestion - by warmth on 07-31-2008 at 02:26 AM
RE: RE: [code][/code] suggestion - by WDZ on 12-22-2008 at 01:04 AM
RE: [code][/code] suggestion - by warmth on 12-22-2008 at 01:18 AM
RE: [code][/code] suggestion - by Lou on 12-22-2008 at 03:05 AM
RE: RE: [code][/code] suggestion - by ryxdp on 12-22-2008 at 05:10 AM
RE: [code][/code] suggestion - by toddy on 12-22-2008 at 03:25 AM
RE: [code][/code] suggestion - by MeEtc on 12-22-2008 at 04:15 AM
RE: [code][/code] suggestion - by Nathan on 12-22-2008 at 10:15 AM
RE: [code][/code] suggestion - by mynetx on 12-22-2008 at 10:47 AM
RE: [code][/code] suggestion - by WDZ on 12-22-2008 at 07:44 PM
RE: [code][/code] suggestion - by vaccination on 12-22-2008 at 07:54 PM
RE: [code][/code] suggestion - by Lou on 12-22-2008 at 07:57 PM
RE: [code][/code] suggestion - by WDZ on 12-22-2008 at 08:08 PM
RE: [code][/code] suggestion - by Lou on 12-22-2008 at 08:25 PM
RE: [code][/code] suggestion - by WDZ on 12-22-2008 at 08:51 PM
RE: [code][/code] suggestion - by ryxdp on 12-22-2008 at 10:53 PM
RE: [code][/code] suggestion - by Lou on 12-22-2008 at 11:16 PM
RE: [code][/code] suggestion - by matty on 12-08-2009 at 04:41 PM
RE: [code][/code] suggestion - by Chrono on 12-15-2009 at 12:05 AM
RE: [code][/code] suggestion - by matty on 12-15-2009 at 01:31 AM
RE: [code][/code] suggestion - by prashker on 12-15-2009 at 04:01 AM
RE: [code][/code] suggestion - by matty on 12-15-2009 at 02:22 PM


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