kee1108 Posted August 28, 2006 Share Posted August 28, 2006 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. Link to comment https://forums.phpfreaks.com/topic/18848-how-to-override-the-main-css-setting/ Share on other sites More sharing options...
radar Posted August 28, 2006 Share Posted August 28, 2006 Perhaps write another CSS file that overwrites the main css? that'd be the way i'd do it... Link to comment https://forums.phpfreaks.com/topic/18848-how-to-override-the-main-css-setting/#findComment-81361 Share on other sites More sharing options...
AdRock Posted August 28, 2006 Share Posted August 28, 2006 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"> Link to comment https://forums.phpfreaks.com/topic/18848-how-to-override-the-main-css-setting/#findComment-81364 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.