Loading ...
Sorry, an error occurred while loading the content.

Re: [xenu-usergroup] css @import

Expand Messages
  • melchior prisi
    ... Unusual but valid. @import has to stay before the other styles but you can have the whole CSS in one line... ... A hack for IE7 (?) - but valid CSS.
    Message 1 of 10 , Jun 19, 2010
    • 0 Attachment
      ----- on 19.06.2010 17:27 Tilman Hausherr wrote:
      > On Sat, 19 Jun 2010 08:15:46 -0700 (PDT), Wayne Rhine wrote:
      > <style type="text/css"><!-- @import "genealogy.css"; --></style>
      > I thought that @import was always at the beginning of a line :-(

      Unusual but valid.
      @import has to stay before the other styles but you can have the whole
      CSS in one line...


      > The content of that css is also weird, is this correct?
      >
      > html>body #title {
      > width:auto;
      > }

      A hack for IE7 (?) - but valid CSS.



      Melchior
      --
    • Tilman Hausherr
      Ok, I had to go back to the drawing board. Now I look for first, and then for @import ...; . This seems to work. Here s a new beta version that will
      Message 2 of 10 , Jun 19, 2010
      • 0 Attachment
        Ok, I had to go back to the drawing board. Now I look for <STYLE> first,
        and then for "@import ...;". This seems to work. Here's a new beta
        version that will detect @import, but also URLs in STYLE= Elements.
        http://home.snafu.de/tilman/tmp/xenubeta.zip
        It does NOT parse CSS files.

        I dedicate this beta to The Gorgeous Princess Victoria of Sweden, whose
        wedding to Clark Kent contributed that there's really nothing on
        television besides herself and the soccer world cup :-)

        Tilman

        On Sat, 19 Jun 2010 18:15:03 +0200, melchior prisi wrote:

        >----- on 19.06.2010 17:27 Tilman Hausherr wrote:
        >> On Sat, 19 Jun 2010 08:15:46 -0700 (PDT), Wayne Rhine wrote:
        >> <style type="text/css"><!-- @import "genealogy.css"; --></style>
        >> I thought that @import was always at the beginning of a line :-(
        >
        >Unusual but valid.
        >@import has to stay before the other styles but you can have the whole
        >CSS in one line...
        >
        >
        >> The content of that css is also weird, is this correct?
        >>
        >> html>body #title {
        >> width:auto;
        >> }
        >
        >A hack for IE7 (?) - but valid CSS.
        >
        >
        >
        >Melchior
      • melchior prisi
        ... Yes, works fine, as far as I can see. ... Melchior --
        Message 3 of 10 , Jun 19, 2010
        • 0 Attachment
          ----- on 19.06.2010 21:15 Tilman Hausherr wrote:
          > Ok, I had to go back to the drawing board. Now I look for <STYLE> first,
          > and then for "@import ...;". This seems to work. Here's a new beta
          > version that will detect @import, but also URLs in STYLE= Elements.

          Yes, works fine, as far as I can see.

          > I dedicate this beta to The Gorgeous Princess Victoria of Sweden, whose
          > wedding to Clark Kent contributed that there's really nothing on
          > television besides herself and the soccer world cup :-)

          :-) :-) :-)

          Melchior
          --
        • Tilman Hausherr
          Update: Now Xenu does parse CSS files too :) http://home.snafu.de/tilman/tmp/xenubeta.zip It is handled the same way as the stuff between and .
          Message 4 of 10 , Jun 20, 2010
          • 0 Attachment
            Update:
            Now Xenu does parse CSS files too :)
            http://home.snafu.de/tilman/tmp/xenubeta.zip

            It is handled the same way as the stuff between <STYLE> and </STYLE>.

            Tilman

            ========

            Ok, I had to go back to the drawing board. Now I look for <STYLE> first,
            and then for "@import ...;". This seems to work. Here's a new beta
            version that will detect @import, but also URLs in STYLE= Elements.
            http://home.snafu.de/tilman/tmp/xenubeta.zip
            It does NOT parse CSS files.

            I dedicate this beta to The Gorgeous Princess Victoria of Sweden, whose
            wedding to Clark Kent contributed that there's really nothing on
            television besides herself and the soccer world cup :-)

            Tilman

            On Sat, 19 Jun 2010 18:15:03 +0200, melchior prisi wrote:

            >----- on 19.06.2010 17:27 Tilman Hausherr wrote:
            >> On Sat, 19 Jun 2010 08:15:46 -0700 (PDT), Wayne Rhine wrote:
            >> <style type="text/css"><!-- @import "genealogy.css"; --></style>
            >> I thought that @import was always at the beginning of a line :-(
            >
            >Unusual but valid.
            >@import has to stay before the other styles but you can have the whole
            >CSS in one line...
            >
            >
            >> The content of that css is also weird, is this correct?
            >>
            >> html>body #title {
            >> width:auto;
            >> }
            >
            >A hack for IE7 (?) - but valid CSS.
            >
            >
            >
            >Melchior
          • melchior prisi
            ... ... and finds css files which are imported by imported css files... Thank you Melchior --
            Message 5 of 10 , Jun 20, 2010
            • 0 Attachment
              ----- on 20.06.2010 12:15 Tilman Hausherr wrote:
              > Update:
              > Now Xenu does parse CSS files too :)
              > http://home.snafu.de/tilman/tmp/xenubeta.zip

              ... and finds css files which are imported by imported css files...

              Thank you
              Melchior
              --
            Your message has been successfully submitted and would be delivered to recipients shortly.