English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

in my CSS I set: p {color:#FF0000;}
that should make all text between

show up red.... but it doesn't. thus far I have been unable to apply any styles whatsoever to the

tags in my website. If anyone can help me with this I'd appreciate it.

2006-11-07 06:53:16 · 3 answers · asked by rto0288 1 in Computers & Internet Programming & Design

in my CSS I set: p {color:#FF0000;}
that should make all text between

show up red.... but it doesn't. thus far I have been unable to apply any styles whatsoever to the

tags in my website.
All syntax is definitely correct, it's an external style sheet with other styles that work fine. I've experimented with every way I can think of to style the damn

tag, including within the tag itself like

the page's DTD is Transional.

2006-11-07 07:29:18 · update #1

3 answers

What you have posted seems correct.

Hmmm... have you specified a doctype at the top of your page?

If not, I would try that (it is a good practice to do so anyhow).

Liggy :^)

2006-11-07 07:03:16 · answer #1 · answered by Liggy 2 · 0 0

hard to tell without seeing the whole thing

are you sure you have the reference to your css file right, maybe the try writing

inside your html file, just for testing to see if this way P tags will be affected by the setting,

or some other definition for P overrides it, i don't know
you could try writing a class for that in your css file

.MyClass{color:#FF0000;}

and use

text

on your page

good luck

2006-11-07 15:07:51 · answer #2 · answered by Deep Thought 5 · 0 0

Most likely some other style is overriding your

style.

2006-11-07 15:41:47 · answer #3 · answered by injanier 7 · 0 0

fedest.com, questions and answers