MyBB Community Forums

Full Version: want to change in css
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi!
for coding there are two type tags
[code]
[php]

i want to apply same css on code tags as in php tag, and want to remove php tag icon from post.

please help me regarding this
The only issue I see is won't really work out like that.

The php tag only recognizes php so it would colorize classes and what not in other languages(which is why they are separate).

So sure you can give them the same CSS but I don't think it's going to work how you want it to.
second question, inside code tag, < or > change into its html value.
how can i avoid this?
<html>

Not sure what you mean...
i posted below line in code tag
<script language="javascript" type="text/javascript">

but inside code tag it look like this (some time)
&lt;script language="javascript" type="text/javascript"&gt;

how to avoid this?
<script language="javascript" type="text/javascript">

It's something to do with your forum. Do you have mods installed. Otherwise I would wait for a support staff member as I can't remember where the parser file is that you would probably want to replace.
If it actually displays as that then you must have extra code running.