Got a link showing us an example or two?
Sorry, but I don't have a link that is accessible to the public (the related files are part of online courses). I'm not sure how I can demonstrate the problem; I doubt that screenshots would be useful. Otherwise ?
Can you post some sample code?
I'm having a hard time fully understanding the issue based on the description in your original post.
I’ll try to explain this problem again. The old HTML document has, for example:
So .h1blue is “Arial, Helvetica etc,” size 16 pixels, font weight bold, color #000066.
I first delete this set of styles and then attach a new CSS:
ALPHA 210 new.css
.body [Arial, Helvetica, etc.; size 12 points, line height 16 pts]
.head1Brown [Times etc; size 18 points, font weight bold, color #663300]
When I apply .head1Brown, for example, the result is Arial 18 points rather than Times, and color #000066 (blue) rather than #663300 (brown). This means that I have to undo the font info (back to default), undo the color (to black), then reapply the style. Sometimes I have to do this 2 times or more for it to take.
Maybe I don't understand the problem either, but why don't you strip out all the embedded CSS from between the <styles> tags, then link your HTML document to your new, external stylesheet?
How to link stylesheets
Hi Nancy. Thanks for the reply. I have indeed deleted the old styles so that I get:
(no styles defined)
Then I attach (link) the new CSS styles. The new CSS show up correctly (in the CSS styles list under Files and in the format box/Property Inspector) but they do not overwrite the old styles even though they have been deleted, as I tried to explain above. When I apply the new .head1Brown, for example, the Property Inspector shows the correct size and weight, but the color is still blue and the font is Arial etc.
If the brown head is turning blue, maybe because it's hyperlinked and thus assuming the default link styles??
Without seeing your HTML and CSS code, it's hard to trouble shoot.
Explanations can only go so far and helpful responses rely on you accurately describing the symptoms (which not all posters do). However, even accurate descriptions are invariably incomplete.
Seeing the code tells us the whole story.