Does a CSS inline style extractor/parser exist?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rbaulbin@hotmail.com

    Does a CSS inline style extractor/parser exist?

    Hello -

    Does anyone know if of a utility that can traverse an HTML file for
    all inline CSS style tag occurrences and generate an external style
    sheet from them, and then create (intelligent?) class or ID names to
    be associated with them? This would save time when coding, since many
    times one can find himself coding "locally" and then subsequently
    stripping out all local style tag instances.

    Thanks...

    RB
  • Adrienne Boswell

    #2
    Re: Does a CSS inline style extractor/parser exist?

    Gazing into my crystal ball I observed rbaulbin@hotmai l.com writing in
    news:c3650412-80af-4dce-b0a0-1f9afb983503@25 g2000hsx.google groups.com:
    Hello -
    >
    Does anyone know if of a utility that can traverse an HTML file for
    all inline CSS style tag occurrences and generate an external style
    sheet from them, and then create (intelligent?) class or ID names to
    be associated with them? This would save time when coding, since many
    times one can find himself coding "locally" and then subsequently
    stripping out all local style tag instances.
    >
    Thanks...
    >
    RB
    >
    IIRC HTML-Tidy _might_ be able to do that. AFAIK, it will take inline
    styles and put them into a style element. One could move the content to
    the style element to an external sheet.

    --
    Adrienne Boswell at Home
    Arbpen Web Site Design Services

    Please respond to the group so others can share

    Comment

    Working...