Jump to content

Archived

This topic is now archived and is closed to further replies.

kee1108

How to override the main css setting?

Recommended Posts

I have a css file with a lot of classes, but in certain pages, i don't want them to follow the main css, i want a different setting, how can i do that, i cannot get this to work.

hope someone can help, thanks.

Share this post


Link to post
Share on other sites
Perhaps write another CSS file that overwrites the main css? that'd be the way i'd do it...

Share this post


Link to post
Share on other sites
If the css is in an external style sheet you can over-ride them by applying style to whatever needs changing.

For example is you have the paragraph <p> tag style in the external stylesheet you can wherever you want to change the <p> style use something like this

<p style="whatever ccs you want goes in here">

i.e. <p style="text-align:center">

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.