1

Topic: Stop multiple CSS.

Is there anyway to have punbb's css file to stop accepting external css commands?

The reason I am asking is because When I intigrated punbb into a site that already uses css, punbb was ignoring its own css comands, and follwoing the pages css comands.

Do, or do not.

2

Re: Stop multiple CSS.

You could try using descendant/contextual selectors. Put PunBB in a wrapper div with the class of "pun". Then change anything in PunBB's style sheet which is is not PunBB specific to have a prefix of .pun. For example A:link would become .pun A:link.

3 (edited by Skye 2004-04-09 19:19)

Re: Stop multiple CSS.

The only way you're going to get it to work is if you place PunBB in a divider and give that divider a class or an id. You will also have to modify the css styles to inherit this class or id for punbb. For example:

<div id="punbb">
<!-- Your forum goes here -->
</div>

Take note, that if you run into a situation where both an id and a class have been defined, the id will take precidence.