It's not prefered to place the CSS attributes in the header, create a document named like style.css, then place:
<link href="style.css" rel="stylesheet" type="text/css" />
In the <head> of the page.
In style.css you just use pure CSS. It easier to edit and if you have many HTML/PHP...