Discussion Locked

Office 2000 - How do I insert a CSS into

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have exported the web page to CSS and it created a stylesheet. Now I want to have the HTML USE that stylesheet as I want to further customize it with more options than are available in word. I tried it with the scripting option but it doesn't bring the stylesheet up in the project window now matter where I put the stylesheet (windows temp, my documents or other). I think I can just insert a reference right into the html code in WORD. I tried it in script but it erases what I added as it seems to use another version of the web page, it keeps about three running copies. Anyone know how to customize your stylesheet in a word web page?
Thanks

2 replies

by lord foul

So you have created the style sheet and saved it as "filename.css". In your code for each page you need to reference the style sheet using HTML code like:

This code needs to be placed in the section of each web page. You can then add the different styles to the "filename.css" and each page will reference this through the code.
Save all your Web page files in the one directory to prevent path errors.
You could try making yourHTML in notepad rather than MS Word.
Good Luck...

by thelastword

Yes I fully understand how stylesheets work, the problem is inserting the code using word 2000. You cant insert it with notepad or homesite as the next time you open the page in word, it wipes out any changes by syncing the versions it keeps. I am interested in the functionality of word in relation to adding html code and/or editing the stylesheet in word/vbscript/visual interdev.

This discussion is closed to new replies.