CSS is easy – you find the element you want to target, you put in a big curly opening bracket, you add all the styles and you finish with a big curly closing bracket… looks something like this:
#hello {
border-bottom: 3px double #EEE;
border-top: 3px double #EEE;
margin: 0px auto;
padding: 20px 0 25px;
width: 1100px;
}
Trouble is, you have to define the target element correctly, you have to know what styles are available and you have to put the colon and the semi colon in the right places… get any of the syntax wrong and the CSS police will be paying you a visit.
[Read more…]