====== CSS Cheat Sheet ====== ===== Selectors ===== ^Selector^Description^ |.class|Selects elements with class="class"| |#id|Selects the one element with id="id" //Can only be one//| |div, p|Selects all
elements and all

elements| |div p|Selects all

elements inside

elements| ===== Color Picker ===== [[http://www.w3schools.com/tags/ref_colorpicker.asp|{{:dan:colorpicker.gif}}]] ===== Operators ===== * border * border: 5px solid red; * border-bottom : 2px; * font-family * margin * font-color * background-color * background-color: #00ff00; * color (sets Text color) * color: #00ff00; * padding * padding: 3px; -> 3 pixels all around, or specify clockwise starting with top ===== Examples ===== td {font-family: Verdana, Arial; font-size: 9pt;} ===== Color Picker ====== http://www.w3schools.com/tags/ref_colorpicker.asp