MyBB Community Forums

Full Version: specify a css to work on one file only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am adding a HTML code which required some css codes,
but those css codes config with my theme css codes and makes the bad.

I wants to specify my css for html code to work only with Announcement's postbit (If I can specify a specific announcement's postbit then that would be awesome)
add like this in global.css

.csstitle { Your Css }

Add Around Html

<div class="csstitle"> Your Html </div>
I mean if i gonna put it in My html codes then it distroy my theme's by configliching as some of the css of my html are same with theme's html like Body,etc

look whats happening when i am putting my html in square theme (its happening in just square theme)
[Image: f06160bc52.png]