Little HTML/CSS trick ?
#1

Hey, if there are any HTML/CSS Programmers here, does anyone know how can I make my custom code higlighting, like the [pawn] tag at these forums.

For example:

pawn Код:
#include SOMETHING.inc

if(condition) ....
// Comment is different color
Now, how can I make a DIV in HTML which will behave in a similar way to [pawn] tag here, I mean;
that it changes/sets the color of preserved keywords in that DIV (or any other DOM element).

I need something that will automatically highlight the keywords in a DOM element.
Reply


Messages In This Thread
Little HTML/CSS trick ? - by Tagathron - 21.06.2014, 19:01
Re: Little HTML/CSS trick ? - by Twizted - 21.06.2014, 19:07
Re: Little HTML/CSS trick ? - by RajatPawar - 21.06.2014, 19:11
Re: Little HTML/CSS trick ? - by Ihateyou - 21.06.2014, 19:15
Re: Little HTML/CSS trick ? - by Tagathron - 21.06.2014, 19:16
Re: Little HTML/CSS trick ? - by Ihateyou - 21.06.2014, 19:17
Re: Little HTML/CSS trick ? - by DiGiTaL_AnGeL - 21.06.2014, 19:29
Re: Little HTML/CSS trick ? - by mamorunl - 21.06.2014, 19:45
Re: Little HTML/CSS trick ? - by NewerthRoleplay - 21.06.2014, 22:29
Re: Little HTML/CSS trick ? - by Tagathron - 23.06.2014, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)