clown[NOR] Posted April 13, 2007 Share Posted April 13, 2007 ok.. what I wonder is the following.. If i'm writing a tutorial.. how can the php codes show up in the right colors? like it does here inside the CODE blocks if you have the <?php ?> tags around the code? Thanks In Advance - Clown Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted April 13, 2007 Share Posted April 13, 2007 well id use CSS, but would this work live? and with searching set words? Quote Link to comment Share on other sites More sharing options...
clown[NOR] Posted April 13, 2007 Author Share Posted April 13, 2007 i think... a long time ago i saw a php code that did everything for you... but I think that's just my mind hoping for a simple solution =) but how would you set up the stylesheet? Quote Link to comment Share on other sites More sharing options...
boo_lolly Posted April 13, 2007 Share Posted April 13, 2007 you cannot do it with a style sheet. you need to do it in php. http://www.sitepoint.com/article/highlight-source-code-php just google it bro. Quote Link to comment Share on other sites More sharing options...
clown[NOR] Posted April 13, 2007 Author Share Posted April 13, 2007 thanks yeah i tried google... but i didnt know exactly what to search for... that's why I came here... i didn't think of the word highlight =) Quote Link to comment Share on other sites More sharing options...
boo_lolly Posted April 13, 2007 Share Posted April 13, 2007 i searched for 'colorize+syntax+php' Quote Link to comment Share on other sites More sharing options...
clown[NOR] Posted April 13, 2007 Author Share Posted April 13, 2007 oh ok =) oh well.. thanks for the quick answer boo_lolly Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.