Changing cursor when over a class to be a pointer (e.g. indicate a link present)
Category: CSS
.CSS Basics(5)
.Examples(15)
Align(3)
Background(3)
Border(2)
Browser(2)
Button(2)
CSS Files(1)
Defines(1)
display(1)
Float(1)
Forms(6)
Images(6)
Lists(2)
Maths(1)
Override Styles(1)
Responsive CSS(4)
Spacing(2)
Text(8)
Variables(1)
Zoom(1)
Calculations
Width
Calculate width based on total width Width only as wide as needed for the text
z-index
You many need to position: relative; to get a z-index value to be used correctly. Things with a high z-index beign hidden behind other elements with a lower z-index If you get problems ensure that if divs etc your high z-index element is withing within have a z-index specified, it is higher than the z-index […]
Paths to images etc
You can specify paths in relation to the site root directoy with a leading forward slash like this: background: url(/images/header_logo.png) no-repeat;
Important
p { color: red !important; }
Links
a { color: #000; text-decoration: none; } a:hover { color: #000; text-decoration: underline; }
Curved Corners
Images border-radius: 4px 4px 4px 4px;
Comments
/* My Comment */
Wrapping
Stopping Text Wrapping & Overflowing Allow Wrapping But No Overflow Allow a really long word to be broken if necessary fit in available width