overlander said:
Hi
I'm trying to set up a CSS template for a website designed in word. For some reason the word webpage won't view css code. Has anyone used css in word? How?
I avoid, and would recommend you do same, no using Word for a html file
editor. It puts extra tags and data into the html which seems to be
Word-specific. To test your particular problem, I just tried opening a
html file which uses a css style sheet template just find (edited in
Mozilla, FrontPage, and occasionally an editor). Opening in Word 2003
completely changes the file with all kinds of tags and formatting that I
don't recognize or want. For example, it seems to have imported the
external CSS style sheet. I can't fathom why all this needs to be in
the HTML file when it works perfectly well being in the linked CSS file
and thus in only ONE place.
Word is a terrific authoring/writing tool, and it does a great job at
formatting text and graphics on paper. But it is not a good tool to use
for editing HTML files, much less an entire web site. Using Word for an
entire web site ... which I guess possible ... can only lead to great
frustration.
Recommendation: avoid using Microsoft Word for Web pages unless you are
absolutely forced to because you don't have any alternatives (and since
there are so many free/commercial alternatives available, that's not a
valid reason), or you have corporate rules which force you to use Word
as "standard" (which in this case you should consult with those who have
forced you to use this tool that's not fit-for-purpose).
I would recommend not spending much time figuring this out. Pick
another tool.
If you must keep working this, then I urge you to open up a browser
along side of Word (IE and/or Mozilla) and view the results of your work
including how it interacts with the CSS in the browser and not rely on
Word to display it. Consider what you are doing in Word as only source
code. View in the browser.