View Full Version : Html Code


The_Ring
01-17-2004, 04:55 PM
hey what is the HTML code to


change colour of text

and change colour of text and link and email

~x~karyn~x~
01-17-2004, 04:58 PM
<text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF">

text= the text
link= links that have NOT been visited
vlink= links that HAVE been visited

That should do it for ya!

kittycat
01-17-2004, 06:07 PM
You need to change that just a bit, since it needs to be in the body tag...

<body text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF">

Replace your current body tag with that or just add the bold part to your current one.

You could also do the same in CSS

<style type="text/css">
a { color: #FFFFFF; }
body { color: #FF0000; }
</style>

And add that between the head tags.

Rosey
01-17-2004, 06:14 PM
I'm not sure the text= will work.

You can put it in the <body> tag and it's:

<body font="arial" color="#hexcode" alink="#hexcode" link="#hexcode" vlink="#hexcode">


Most people are going to style sheets (CSS), it's a lot easier to change your layout. In that case you would do this:

body { font-family:arial, verdana, tahoma; serif;
color: #hexcode; }

a:link { font-family: Verdana,arial, helvetica, sans-serif;
font-size: 8px;
color: #hexcode;
text-decoration: none;
}

a:visited { font-family: Verdana,arial, helvetica, sans-serif;
font-size: 8px;
color: #hexcode;
text-decoration: none;
}

a:hover { font-family: Verdana,arial, helvetica, sans-serif;
font-size: 8px;
color: #hexcode;
text-decoration: underline;
}


You can add more attributes to make a whole lot of stuff.

more info on style sheets:

http://www.lissaexplains.com/css.shtml

edit: i was typing this while kittycat replied :P