about


Scribe:

chrono

blog

Time

science!

book musings

gov

'punk

missle defense

jams

antiques

cultcha blog


Construct:

scripts & programs

on the town

snaps


Self:

creds (PDF)

key

missive


CSS: Ading a Background Color

Since, the last time I built a Web page, the rules have changed for how to adding a background color. It used to be the case that you added an attribute onto the body tag. No longer! That is being deprecated

These days, you use Cascading Style Sheets (CSS). The easiest way to do this is to embed some CSS code directly into the page itself, in the head section.

<Style type="text/css">
body {background-color: #FFEBCD}
</style>

Note, the color above is encoded ("#FFEBCD") in hexadecimal.... Go here to get the hexadecimal codes for your favorite colors.

Material taken from the CSS tutorial at W3Schools.