Lesson 7: Background Colors
Background Colors:
There are two ways to use background colors as opposed to URL backgrounds. There is an endless array of colors to choose from if you want to use the hexcode chart, or you can just type in the name of each color (chart provides exact spelling).
Here is an example of what either code looks like:
Now that you have your background figured out, it's time to figure out what text is going to look best. You can set a standard text color, as well as have a different color for links and another different color for links you have already been to. Here are how the codes should look in your script:
text - Standard Color for entire page.
link - Color for text that is to be a link.
vlink - Color for links on your page that have already been visited.
alink - Color for current selected link as you click it.
There are two ways to use background colors as opposed to URL backgrounds. There is an endless array of colors to choose from if you want to use the hexcode chart, or you can just type in the name of each color (chart provides exact spelling).
Here is an example of what either code looks like:
Now that you have your background figured out, it's time to figure out what text is going to look best. You can set a standard text color, as well as have a different color for links and another different color for links you have already been to. Here are how the codes should look in your script:
text - Standard Color for entire page.
link - Color for text that is to be a link.
vlink - Color for links on your page that have already been visited.
alink - Color for current selected link as you click it.
5 Comments:
Great tips !! thanks for the hex code chart ... very very useful
np :)
Something like this:
Variable name="mainBgColor" description="Main Background Color"
type="color" default="#466" value="#446666"
How can I change a variable function from colour to picture (url)?
First, is your script Java, or HTML?
I am thinking it's the DHTML coding in your blogger template, but I only got a glance at it. I have figured out that you must remove part of the code in the "head" and add:
background="url"
to your "body" tags. I hope this helps, if not feel free to comment back.
-PATCAM
Post a Comment
Comments are always welcome, please have respect when addressing other's.
<< Home