Some styles from a css linked styles file are persisted in html

J

Jony

I am creating html documents in word 2007.
I have an css file linked to the document from where I want pickup the styles.
When the doc is saved (html filtered) some properties from the "css-styles"
are persisted in the html file. When I do changes in the styles in the css
file, the doc html has some changes done and others not.
In the resulting html file are present the link to the css file and
document-level definition of styles!!!
There are any way to avoid that behavior of word 2007 ?
Tanks
 
P

PamC via OfficeKB.com

Word adds its own style sheet (css) in the html file's head section. Css
specifications in the html file override the linked style sheet when the
specs conflict. That may explain why changes to your linked css are not
getting through. Using a text editor, you can delete Word's css and any
formatting spec in the body. If you need to comply with the linked css, don't
know anything about hand coding html (which you need to do to fix this), and
don't care to learn it, pick a different html development tool.

I notice that you sent the same post many times. Another poster who blanketed
the site with over a dozen identical posts reported getting an erroneous
message that his post did not go through and that he should send it again.
If you received a similar mesage, note that that is not the case. Please
post just once and wait for a reply (could take a few hours).

PamC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top