I need help disabling a html tags inside a div. It’s so that I can make a code box like the one here.
So that if I typed into
You can do this by wrapping <pre><code>Around the text</code></pre>
I know that, but then do I style it like this?
This site and many others use Prettify – //code.google.com/p/google-code-prettify/ – It should do what you want and has customisable styles.
You must be logged in to reply to this topic.