Jump to content


How to override the main css setting?

  • Please log in to reply
2 replies to this topic

#1 kee1108

  • Members
  • PipPip
  • Member
  • 12 posts

Posted 28 August 2006 - 12:05 AM

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.

#2 radar

  • Members
  • PipPipPip
  • Advanced Member
  • 645 posts
  • LocationSLC

Posted 28 August 2006 - 12:06 AM

Perhaps write another CSS file that overwrites the main css? that'd be the way i'd do it...

#3 AdRock

  • Members
  • PipPipPip
  • Advanced Member
  • 911 posts

Posted 28 August 2006 - 12:16 AM

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">
If your topic has been solved, please mark the topic as SOLVED.

This helps others from identifying which topics need help still

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users