
07-02-2008, 08:15 AM
|
|
Junior Member
|
|
Join Date: Jul 2008
Posts: 1
|
|
Text - Alignment
The text-align is just that: by changing the word "center" to "left", can align your text to the left margin instead of centering it all. I am sure that you are beginning to get the hang of this by now, but just follow through, "text-align" is the property and "center" is the value. The color of your font or text is going to be the hex code color #000000, or black. If you want to change the color of the font, find the hex code for the color that you want it to be and replace #000000 with it.
The last one here is the background color, which is behind the header text. This background color is different from the body background color in that this color is going to be directly related just to the text in between the header tags or the h1 tags. In our example, "background-color" is the property and "#ffffff" is the value. You can change the background color to any color you like just by replacing the hex code #ffffff, which is white, with the hex color code of your choosing.
In our next article we begin with the paragraph tags and show just how easy it is to get rid of a ton out dated code. This article may be distributed freely on your website, as long as this entire article, including working links and this resource box are unchanged.
Last edited by admin : 07-17-2008 at 09:39 AM.
|