Loading ...
Global Do...
News & Politics
6
0
Try Now
Log In
Pricing
CSS Help Sheet. liquidicity Syntax Syntax External Style Sheet Internal Style Inline Style selector {property: value;} <link rel=”stylesheet” type=”text/css” href=”style.css” /> <style type=”text/css”> selector {property: value} </style> <tag style=”property: value”> This Needs a Diagram Shorthand Comments Border height; width; margin-top; margin-right; margin-bottom; margin-left; padding-top; padding-right; padding-bottom; padding-left; background border border-bottom border-left border-right border-top font list-style margin padding /* Comments */ Media Types all braille embossed handheld print projection screen speech tty tv Units Length % em pt px Keywords bolder lighter larger Pseudo Selectors :hover :active :focus :link :visited :rst-line :rst-letter General class String preceded by a full stop [.] ID String preceded by a hash [#] div Formats structure or block of text span Inline formatting color Foreground colour cursor Appearance of the cursor overow How to handle content that overows its box. visible, hidden, scroll, auto visibility visible, hidden display block; inline; list-item; none Font font-style italic, normal font-size Size of the font font-family Specic font[s] to be used. font- variant normal, small-caps font- weight bold, normal, lighter, bolder, integer [100-900] Text letter-spacing Space between letters line-height Vertical space between baselines text-align Horizontal alignment text- decoration blink, line-through, none, overline, underline text-indent First line indentation text- transform capitalise, lowercase, uppercase vertical-align Vertical alignment word-spacing Spacing between words width height padding margin border border-width Width of the border border-color Colour of the border border-style dashed; dotted; double; groove; inset; outset; ridge; solid; none; Position clear If any oating elements around the element both, left, right, none oat Floats to a specied side left, right, none left The left position of an element auto, length values [pt, in, cm, px] top The top position of an element auto, length values [pt, in, cm, px] z-index Above or below overlapping elements auto, integer [higher numbers on top] position static, relative, absolute Background background-color Colour of background background-image Background image background-repeat repeat, no-repeat, repeat-x, repeat-y background- position (x y), top, center, bottom, left, right background- attachment Background image scrolls with element scroll, xed List list-style- type Type of bullet or numbering in the list disc; circle; square; decimal; lower-roman; upper-roman; lower-alpha; upper-alpha; none list-style- position Position of the bullet or number in a list inside; outside list-style- image Image to be used as the bullet in the list © 2007 Go Squared Ltd.