Menu

download problem with css file

Help
bob
2009-12-18
2012-07-26
  • bob

    bob - 2009-12-18

    when i download web pages , using command below:

    wget -r -p -np -k
    http://swdpress.cn/lyah/chapters.htm

    i can correctly download css files like

    < link type="text/css" rel="stylesheet" href="sh/Styles/SyntaxHighlighter.css"

    but can not download the css file like below

    < style type="text/css">

    @import url('reset.css');

    @import url('style.css');

    < /style>

     
  • Charles Calvert

    Charles Calvert - 2009-12-18

    The latter is not a link to a file, but inline CSS. wget doesn't recognize the
    "@import" statement because it is CSS, not HTML.

     
MongoDB Logo MongoDB