View Full Version : having trouble with CSS


bane_vagabond
05-31-2003, 02:31 PM
How would I change my font into sans serif? and my page looks ugly with lines uner the links, how would I make no lines, and after they have clicked on the link, the color doesn't change.

Lemon Squash
05-31-2003, 03:22 PM
http://www.lissaexplains.com/html.shtml#font
http://www.lissaexplains.com/css.shtml

bane_vagabond
05-31-2003, 03:55 PM
It still doesn't work, here is my external css page:

<style type="text/css">
{font-family: tahoma,arial,verdana;
color: #000000 ;
letter-spacing: value; [any number value (3pt, 5pt)]
font-weight:value; [lighter, normal, bold, bolder, any number value (100, 500, 900)]
font-size:value; [xx-small, x-small, small, medium, large, x-large, xx-large,
any number value (12 pt, 18 pt)]}
</style>



I still need help with the links problem, too.

Lemon Squash
05-31-2003, 04:00 PM
You need to edit the things inside the [ ]'s in the code and change it to what you want... and when you've done it remember to remove the []'s..

bane_vagabond
05-31-2003, 04:30 PM
Here it is:

<style type="text/css">
{font-family: tahoma,arial,verdana;
color: #FFFFFF ;
letter-spacing: value; 3pt
font-weight:value; normal
font-size:value; medium
any number value (12 pt}
</style>

it still does not work.

Dude128
05-31-2003, 05:20 PM
the value you choose should go where the word value appears in the code, like so:

letter-spacing: 3pt;

rather than

letter-spacing: value; 3pt

bane_vagabond
05-31-2003, 09:03 PM
here it is:
<style type="text/css">
{font-family: arial,verdana;
color: #FFFFFF ;
letter-spacing: ; 3pt;
font-weight:normal;
font-size:medium;
</style>

And guess what? It still doesn't work...ehehe


<head>

<LINK REL=stylesheets TYPE="text/css" HREF="css.css">

<title>lalala</title>
</head>

kittycat
05-31-2003, 09:54 PM
If this is in your css.css file... try this:

body
{font-family: arial,verdana;
color: #FFFFFF;
letter-spacing: 3pt;
font-weight:normal;
font-size:medium;
}

bane_vagabond
05-31-2003, 10:26 PM
still doesn't work.

Dude128
06-01-2003, 01:54 AM
are you sure your browser supports CSS? I see nothing wrong with that code.

if you're positive your browser does support it, can you post a link to the page? it seems as though something else must be wrong if you can't get that code to work.