colored text on NS thru CSS, how?

liunx

Guest
Hello every body!

Using the property "color:" gives a text the specified value of color on IE, but it doesnt on NS.

Could someone please tell me how could I color text through CSS on NS?

Thanks.Which version of NS is it and can you give a snippet of code.What version of NS?

What is the rest of your CSS?

This will work in all versions that I am familiar with:

<style type="text/css">
P {color: blue}
</style>Thank you very much gil davis and Fang for your help.

gil davis is right, I could find out that it indeed works with ns as well, but ns doesnt accept the color value within quotes!Originally posted by Lotfi Abdolhal
but ns doesnt accept the color value within quotes!This is because it isn't valid. No surprise here though, IE can only really handle invalid code. The only time you'll ever really need quotes in CSS is if you're using a font in which contains space in its name (e.g., font-family: "times new roman", serif).GREAT Dear Fredmv!

Thank you very much indeed for that.
 
Back
Top