In general, the priority is this (from high to low):
1. inline styles
2. styles defined in <head>
3. external styles
If there are several <style> tags inside <head> their priority depends on the order of appearance in code. In this example:
<style>
p {color:green}
</style>
<style>
p {color:red}
</style>
the text colour in <p> will be red as it's definition in 2nd style overrides the 1st one.
The same way [tt]<p style="color:blue">[/tt] will override both of them.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.