Oct 28

Border #div { border-width: 5px; (thin, thick, medium or set value) (default = medium) border-style: dotted; (solid, dashed, dotted, double, etc) (default = none) border-color: blue; (named, hex, rgb or 0-255) (default = value of elements/elements parent color property) } #div { border:5px dotted blue; } and #div { border-right-width: 2px; border-right-style: solid; border-right-color: #666666; [...]

[ More ]
Oct 28

There have been a number of occasions when looking over other developers CSS I notice bits of code similar to the following… #div { margin-top: 20px; margin-bottom: 10px; margin-right: 5px; margin-left: 25px; padding-top: 10px; padding-bottom: 15px; border-width: 1px; border-style: solid; border-color: #666666; font-family: Verdana, Helvetica, Arial; font-size: 14px; font-weight: bold; } The above code is [...]

[ More ]