/    Sign up×
Community /Pin to ProfileBookmark

What does the !important statement mean in CSS scripts. I saw it on one page but couldn’t figure out what it meant. Thanx.?

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@Compguy_PeteNov 21.2002 — A suggestion might be to post a link to a page that uses this coding.

With that we can see the page and code in context.
Copy linkTweet thisAlerts:
@Robert_WellockNov 21.2002 — Haven't seen you for a while Pete, nice to see you again. The "!important" statement basically means the statement within the CSS takes precedence under the cascading rules, however if you want a more detailed explanation then visit the World Wide Web Consortium (W3C) http://www.w3.org/
Copy linkTweet thisAlerts:
@StefanNov 21.2002 — Specifically you should read this part (and you need to read the whole section if you really want to understand how and what !important does)


http://www.w3.org/TR/REC-CSS2/cascade.html#cascade
Copy linkTweet thisAlerts:
@Zach_ElfersauthorNov 21.2002 — Thanks! I saw it on www.brainjar.com when I was viewing his awesome menu script.
Copy linkTweet thisAlerts:
@deraJul 05.2004 — [i]Originally posted by Robert Wellock [/i]

[B]Haven't seen you for a while Pete, nice to see you again. The "!important" statement basically means the statement within the CSS takes precedence under the cascading rules, however if you want a more detailed explanation then visit the World Wide Web Consortium (W3C) http://www.w3.org/ [/B][/QUOTE]
his been busy moderating his forum :p
×

Success!

Help @Zach_Elfers 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.24,
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,
)...