/    Sign up×
Community /Pin to ProfileBookmark

How can I stop CSS on certain parts of my website?

Om my website, I have external css of

[QUOTE]

<STYLE TYPE=’text/css’>
/* CSS generated at csscreator.com */
BODY{ color:#0000FF; font-family:cursive; font-size:medium; font-weight:normal; scrollbar-3dlight-color:#000000; scrollbar-arrow-color:#000000; scrollbar-darkshadow-color:#000000; scrollbar-face-color:#0066FF; scrollbar-highlight-color:#33CCFF; scrollbar-shadow-color:#000000; }
FONT{color:#0000FF; font-size:medium; font-family:cursive; font-weight:normal; text-decoration:none; }
P{color:#0000FF; font-size:medium; font-family:cursive; font-weight:normal; text-decoration:none; }
A{color:#FFFF00; }
A:Visited{color:#FFFF00; }
A:Hover{color:#FF0000; }
H1{font-size:xx-large; font-family:cursive; font-weight:bold; text-decoration:none; }
</STYLE>

[/QUOTE]

How do I stop certain parts of the web page not being influenced by the CSS. I know its a bit of a basic question, but I don’t know much about CSS.

Cheers for your help!

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@felgallApr 29.2005 — You can't actually turn off CSS. What you want to do is to create additional CSS that is to be applied to the part of the page where you don't want the existing definitions to apply using class names that you can attach around the part of the page where you want the new definitions to apply.
Copy linkTweet thisAlerts:
@tims15authorApr 29.2005 — The bit I don't want to be changed by the CSS is actually remotely hosted free content from bravenet. I have already formatted this on their website, but the CSS has overridden this. Would I still have to create a separate class?
Copy linkTweet thisAlerts:
@NogDogApr 29.2005 — Alternatively, wrap your content in a div with an id or class, then define your style to apply to that id/class, perhaps?
Copy linkTweet thisAlerts:
@tims15authorApr 30.2005 — So what code should I put before and after the code above, and what code should I put in the CSS? Or have I got it wrong?!
×

Success!

Help @tims15 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...