Hi guys I need to some help and this is urgent I need to get this done soon.
Basically I need to apply a class to pre so it should be <pre class="code"> the thing is I can't do this I always have to go in source view which is kinda of a pain and since there is so much text there (the HTML) it gets quite confusing..
When you insert tables you can select the class and ID, I need to do this for the <pre> tag as well..
Anyone know how?
Sorry I don't know JavaScript so if your going to explain try to make it quite clear thanks!
Asim
Basically I need to apply a class to pre so it should be <pre class="code"> the thing is I can't do this I always have to go in source view which is kinda of a pain and since there is so much text there (the HTML) it gets quite confusing..
When you insert tables you can select the class and ID, I need to do this for the <pre> tag as well..
Anyone know how?
Sorry I don't know JavaScript so if your going to explain try to make it quite clear thanks!
Asim
Re: Have class in drop down?
Re: Have class in drop down?
The problem is does anyone know how I can set it to also insert a class? so <pre class="prettyprint"> ?