Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Jul 2001
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Create CSS from Word XP document/styles (Word XP)

    I would like to create a Cascading Style Sheet (CSS) from a Word XP document with many custom styles defined. I found a utility on Microsoft's website called the Office 2000 HTML Filter 2.0 that allows you to export a CSS file based on a Word document. However, it only seems to work with Word 2000, not XP. Is there a similar utility available somewhere for Word XP, or is there a way to do this from Word XP. I have searched the Word help for CSS and it talks about attaching and detaching CSS's, but nothing about creating them.

    Any help would be most appreciated, I really don't want to have to recreate all of these styles by hand if possible.

  2. #2
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Create CSS from Word XP document/styles (Word XP)

    I don't have Word2002 available right now to check it, but I think the "clean HTML" filter is included in the list of regular export filters ("Filtered HTML" or something like that).

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

  3. #3
    New Lounger
    Join Date
    Jul 2001
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Create CSS from Word XP document/styles (Word XP)

    Hi Klaus,

    Thanks for your reply, but the problem is that Word XP's filtered HTML feature doesn't seem to create a separate CSS. In Word XP, the File Save As dialog includes an option to create filtered HTML, but all that does is remove the "Office" specific features from the HTML.

    What I cannot figure out how to create the CSS. The HTML Filter utility for Word 2000 talks about having the option to export the CSS from a Word file, I find it hard to believe that Word XP doesn't have the same capability.

    There must be a way to export the styles from a Word document into CSS format, this seems like it would be a very useful feature.

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Create CSS from Word XP document/styles (Word XP)

    I haven't created many style sheets, but I have looked at a bunch of them. Wouldn't whatever Word creates basically be the same as what appears between the <STYLE> and </STYLE> tags in the HTM files that Word creates? I realize that having a workaround doesn't excuse a lack of functionality, but if I understand the situation correctly, at least you have a fallback.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •