"Andrew" <andrew-dixon1971MYPANTS (AT) ntlworld (DOT) com> wrote:
Quote:
Is the <span class> tag not yet accepted in all newer browsers? |
Virtually all modern browsers know how to parse such tags. The tag, however,
has the defined meaning of meaning nothing. There's nothing a browser needs
to do with <span> markup per se. Your problem is thus elsewhere.
Quote:
The reason I ask that I am using the following code as an example (using
a style that definitely works when used on its own i.e. <p
class="lime">) but it shows up in the normal paragraph style in both IE5
and Netscape 7.0 |
Why don't you specify the style or, for that matter, post the URL and
consider posting to a style sheet group, since your problem apparently
revolves around CSS rather than HTML tags.
Quote:
p>this is some text in normal paragraph style, <span class="lime">this
is some other text that should be a different colour</span></p |
Well, "lime" isn't a particularly clueful class name. If someone tries to
write an aural style sheet, or a monochrome print style sheet, for your
document, how will the name "lime" help in guessing what the intended
_meaning_ is and to select a suitable presentational suggestion to reflect
the meaning?
Quote:
Anyone know why the other text isn't adopting its new style? |
You have an error in your style sheet, or in the way you are trying to
associate the style sheet with the HTML document.
Quote:
Does it make a difference what type of CSS I am using (i.e. external,
embedded etc) |
Yes. And different errors are possible in different approaches.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html