View Full Version : The link color on my CSS coding won't work


Balzrandhir
11-15-2003, 11:53 AM
Check out my coding here http://balzrandhir.bravehost.com/style1.css

Why won't the link color work? All the other three link color related colors work....

MaGiCSuN
11-15-2003, 12:03 PM
it's a .css file so there shouldn't be <style type="text/css"> and </style> in the coding. This only will show in the coding when it's placed between the <head> and </head> tag :)

your code looks fine, so try refreshing your page :)

Love,
Mirna

Balzrandhir
11-15-2003, 04:37 PM
Originally posted by MaGiCSuN
it's a .css file so there shouldn't be <style type="text/css"> and </style> in the coding. This only will show in the coding when it's placed between the <head> and </head> tag :)

your code looks fine, so try refreshing your page :)

Love,
Mirna

So, the CSS shouldn't have the <style type="text/css"> and </style>? Where do I put them then?

And, It dosen't work refreshing... :(

MaGiCSuN
11-15-2003, 05:13 PM
when you put css like this it needs <style> tags around it:

<html>
<head>
<style type="text/css">
<!--
body { blah }
-->
</style>
</head>
<body>
</body>
</html>

but you have an css file, which means that will be linked between the <head> and </head> with a <link> tag. In those files you don't need style tags around it.

Love,
Mirna

Balzrandhir
11-15-2003, 06:01 PM
Originally posted by MaGiCSuN
when you put css like this it needs <style> tags around it:

<html>
<head>
<style type="text/css">
<!--
body { blah }
-->
</style>
</head>
<body>
</body>
</html>

but you have an css file, which means that will be linked between the <head> and </head> with a <link> tag. In those files you don't need style tags around it.

Love,
Mirna

So I can remove the <style type> and the </style> from the css file then?

MaGiCSuN
11-15-2003, 06:20 PM
yes..