 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
-jason
Joined: 27 Jan 2006 Posts: 2
|
Posted: Fri Jan 27, 2006 9:37 am I need some help |
|
|
|
i am not that good with html for webpages and that stuff, but does anyone know a code on how to make a page's colour black and white, making no colour visible except the 2 shades
and thanks  |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8748 Location: Castle Pines North, CO USA
|
Posted: Fri Jan 27, 2006 10:35 am |
|
|
|
|
I would use CSS to apply the colors.
| Code: |
<style type="text/css">
body
{
margin:0px auto;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1.0em;
background: #fff;
color: #000;
}
</style> |
if you have hyperlinks, you would need to add pseudo classes as well so that it would be
| Code: |
<style type="text/css">
body
{
margin:0px auto;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1.0em;
background: #fff;
color: #000;
}
a:link
{
color: #000;
background: #fff;
}
a:visited
{
color: #000;
background: #fff;
text-decoration: none;
}
a:hover
{
color: #000;
background: #fff;
}
a:active
{
text-decoration: none;
color: #000;
background: #fff;
}
</style> |
This style sheet goes into the head of your HTML document.
You could also put everything into the opening <body> tag but using CSS would be better.
_________________
Corey
Loud Commerce | LoudHost | Toll Free Solutions |
|
-jason
Joined: 27 Jan 2006 Posts: 2
|
Posted: Fri Jan 27, 2006 10:46 am |
|
|
|
it doesnt seem to be working for this website i use  |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8748 Location: Castle Pines North, CO USA
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|