<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gotopinion.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Cascade_and_Rule_Declarations</id>
	<title>Cascade and Rule Declarations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gotopinion.info/wiki/index.php?action=history&amp;feed=atom&amp;title=Cascade_and_Rule_Declarations"/>
	<link rel="alternate" type="text/html" href="https://wiki.gotopinion.info/wiki/index.php?title=Cascade_and_Rule_Declarations&amp;action=history"/>
	<updated>2026-04-21T15:20:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.gotopinion.info/wiki/index.php?title=Cascade_and_Rule_Declarations&amp;diff=279&amp;oldid=prev</id>
		<title>Paul: New page: == Cascade ==  Styles passing from higher to lower hierarchy levels.  === Cascade Rules ===  Cascade Rules p57: # Find all declarations that apply to each element and property # Sort by or...</title>
		<link rel="alternate" type="text/html" href="https://wiki.gotopinion.info/wiki/index.php?title=Cascade_and_Rule_Declarations&amp;diff=279&amp;oldid=prev"/>
		<updated>2008-05-20T00:03:17Z</updated>

		<summary type="html">&lt;p&gt;New page: == Cascade ==  Styles passing from higher to lower hierarchy levels.  === Cascade Rules ===  Cascade Rules p57: # Find all declarations that apply to each element and property # Sort by or...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Cascade ==&lt;br /&gt;
&lt;br /&gt;
Styles passing from higher to lower hierarchy levels.&lt;br /&gt;
&lt;br /&gt;
=== Cascade Rules ===&lt;br /&gt;
&lt;br /&gt;
Cascade Rules p57:&lt;br /&gt;
# Find all declarations that apply to each element and property&lt;br /&gt;
# Sort by order and weight&lt;br /&gt;
# Sort by specificity&lt;br /&gt;
# Sort by order&lt;br /&gt;
&lt;br /&gt;
==== Weight of declaration ====&lt;br /&gt;
&lt;br /&gt;
Define a rule as important using the exclamation point. Marking a tag as important will override the cascade.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;p {color:red !important; font-size:12pt;}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Rule Declarations ==&lt;br /&gt;
&lt;br /&gt;
Declarations are made up of a property and value.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;p {color:red;}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
color = property and red = value&lt;br /&gt;
&lt;br /&gt;
Values fall into three main types:&lt;br /&gt;
# Words&lt;br /&gt;
# Numerical values&lt;br /&gt;
# Color values&lt;br /&gt;
&lt;br /&gt;
=== Numerical values ===&lt;br /&gt;
&lt;br /&gt;
Use to decribe the &amp;quot;distance&amp;quot; or height, width, depth, length, etc. for many values. p61&lt;br /&gt;
&lt;br /&gt;
Two main groups of numerical values:&lt;br /&gt;
# Absolute&lt;br /&gt;
# Relative&lt;br /&gt;
&lt;br /&gt;
Absolute value describes a real distance.&lt;br /&gt;
Relative value compared to another.&lt;br /&gt;
&lt;br /&gt;
Absolute value chart:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Absolute Value&lt;br /&gt;
! Unit Abbreviation&lt;br /&gt;
|- &lt;br /&gt;
| Inches&lt;br /&gt;
| in&lt;br /&gt;
|-&lt;br /&gt;
| Centimeters&lt;br /&gt;
| cm&lt;br /&gt;
|-&lt;br /&gt;
| Millimeters&lt;br /&gt;
| mm&lt;br /&gt;
|-&lt;br /&gt;
| Points&lt;br /&gt;
| pt&lt;br /&gt;
|-&lt;br /&gt;
| Picas&lt;br /&gt;
| pc&lt;br /&gt;
|-&lt;br /&gt;
| Pixels&lt;br /&gt;
| px&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Relative value chart:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! Relative Value&lt;br /&gt;
! Unit Abbreviation&lt;br /&gt;
! Note&lt;br /&gt;
|- &lt;br /&gt;
| Em&lt;br /&gt;
| em&lt;br /&gt;
| Width of character in a font.&lt;br /&gt;
|-&lt;br /&gt;
| Ex&lt;br /&gt;
| ex&lt;br /&gt;
| Equivalent to the x-height of the given font.&lt;br /&gt;
|-&lt;br /&gt;
| Percentage&lt;br /&gt;
| %&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Color Values ===&lt;br /&gt;
&lt;br /&gt;
Hexadecimal format&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#RRGGBB&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Percentages format&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;R%, G%, B% &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Cascade Style Sheets|Back to Cascade Style Sheets]]&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Paul</name></author>
	</entry>
</feed>