Reading a CSS file from an existing website?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Barnard

    Reading a CSS file from an existing website?

    Hi.

    When looking at a website I can use VIEW / SOURCE to see the HTML, but
    any external .css files don't show up. Is there a way to see them and
    see what someone has done to get an effect?

    Thanks.

    --
    Regards from Mike Barnard
    South Coast, UK.

    [To reply by email remove ".trousers" spamtrap from email address]
  • Els

    #2
    Re: Reading a CSS file from an existing website?

    Mike Barnard wrote:
    [color=blue]
    > Hi.
    >
    > When looking at a website I can use VIEW / SOURCE to see the HTML, but
    > any external .css files don't show up. Is there a way to see them and
    > see what someone has done to get an effect?[/color]

    You're saying you don't know that the path to the CSS file
    is mentioned in the HTML file?
    <link rel=stylesheet .....
    or @import url( .... .css) will show you where it's at.

    --
    Els
    Blog and other pages, mostly outdated.

    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -

    Comment

    • Beauregard T. Shagnasty

      #3
      Re: Reading a CSS file from an existing website?

      Quoth the raven named Els:
      [color=blue]
      > Mike Barnard wrote:
      >[color=green]
      >> Hi.
      >>
      >> When looking at a website I can use VIEW / SOURCE to see the
      >> HTML, but any external .css files don't show up. Is there a way
      >> to see them and see what someone has done to get an effect?[/color]
      >
      > You're saying you don't know that the path to the CSS file is
      > mentioned in the HTML file? <link rel=stylesheet ..... or @import
      > url( .... .css) will show you where it's at.[/color]

      Possibly Mike means that, maybe, he's using IE and it downloads the
      css file rather than displaying it. Such as this one from my
      play-around spaces:


      The css will be in your browser cache. An alternative would be to use
      oh, say, a modern browser such as Mozilla or Firefox which will
      display the file directly in the browser.

      --
      -bts
      -This space intentionally left blank.

      Comment

      • Lauri Raittila

        #4
        Re: Reading a CSS file from an existing website?

        In article Mike Barnard wrote:[color=blue]
        > Hi.
        >
        > When looking at a website I can use VIEW / SOURCE to see the HTML, but
        > any external .css files don't show up. Is there a way to see them and
        > see what someone has done to get an effect?[/color]

        Depends on browser. AFAIK 3 methods that work in Opera somehow. I don't
        know if there is any way to open all realted CSS files whiout opening
        some of them manually.


        --
        Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
        I'm looking for work | Etsin työtä

        Comment

        • Mike Barnard

          #5
          Re: Reading a CSS file from an existing website?

          On Mon, 03 May 2004 21:27:50 +0200, Els <els.aNOSPAM@ti scali.nl>
          wrote:
          [color=blue]
          >Mike Barnard wrote:
          >[color=green]
          >> Hi.
          >>
          >> When looking at a website I can use VIEW / SOURCE to see the HTML, but
          >> any external .css files don't show up. Is there a way to see them and
          >> see what someone has done to get an effect?[/color]
          >
          >You're saying you don't know that the path to the CSS file
          >is mentioned in the HTML file?
          ><link rel=stylesheet .....[/color]

          I know it's there, but I can't just 'look' at the server (can I?) to
          download the file. Or any scripts that may be there.
          [color=blue]
          >or @import url( .... .css) will show you where it's at.[/color]

          New to me but I'll look it up, thanks.

          BTW, your "You're saying you don't know...?" comment is VERY
          condesending. No, we DONT all know things. I'm trying to teach
          myself as best as I can.

          --
          Regards from Mike Barnard
          South Coast, UK.

          [To reply by email remove ".trousers" spamtrap from email address]

          Comment

          • Brian

            #6
            Re: Reading a CSS file from an existing website?

            Mike Barnard wrote:
            [color=blue]
            > When looking at a website I can use VIEW / SOURCE to see the HTML, but
            > any external .css files don't show up. Is there a way to see them and
            > see what someone has done to get an effect?[/color]

            Which browser are you using? There are add-on components for Mozilla
            that let you view the css with fairly little effort.



            --
            Brian (remove "invalid" from my address to email me)

            Comment

            • Els

              #7
              Re: Reading a CSS file from an existing website?

              Mike Barnard wrote:
              [color=blue]
              > On Mon, 03 May 2004 21:27:50 +0200, Els <els.aNOSPAM@ti scali.nl>
              > wrote:
              >[color=green]
              >>Mike Barnard wrote:
              >>[color=darkred]
              >>>Hi.
              >>>
              >>>When looking at a website I can use VIEW / SOURCE to see the HTML, but
              >>>any external .css files don't show up. Is there a way to see them and
              >>>see what someone has done to get an effect?[/color]
              >>
              >>You're saying you don't know that the path to the CSS file
              >>is mentioned in the HTML file?
              >><link rel=stylesheet .....[/color]
              >
              > I know it's there, but I can't just 'look' at the server (can I?) to
              > download the file. Or any scripts that may be there.[/color]

              No need to. If you find for instance <LINK rel="stylesheet "
              type="text/css" href="/default.css">, you take the url from
              the page, like http://www.somesite.com/ and paste
              default.css after that.
              Result: http://www.somesite.com/default.css.
              In any browser but IE, this will result in the CSS file
              being shown in the browser window. In IE, it usually opens
              Notepad or your default text editor, and displays it in there.
              [color=blue][color=green]
              >>or @import url( .... .css) will show you where it's at.[/color]
              >
              > New to me but I'll look it up, thanks.[/color]

              Welcome.
              [color=blue]
              > BTW, your "You're saying you don't know...?" comment is VERY
              > condesending. No, we DONT all know things. I'm trying to teach
              > myself as best as I can.[/color]

              I'm sorry about that, by no means I wanted to sound
              condesending. I was just surprised, and therefore not sure
              if that was what you meant. When I was in the stage where I
              didn't know how to find the stylesheet, I didn't even know
              of the existence, which was why I was surprised. Anyway,
              sorry, didn't mean to be condesending at all.

              As for teaching yourself, I think you've got at least one
              thing figured out that I didn't when I started: reading and
              asking on usenet is very helpful :-)

              --
              Els
              Blog and other pages, mostly outdated.

              Sonhos vem. Sonhos vão. O resto é imperfeito.
              - Renato Russo -

              Comment

              • Mike Barnard

                #8
                Re: Reading a CSS file from an existing website?

                On Mon, 03 May 2004 19:58:11 GMT, "Beauregard T. Shagnasty"
                <a.nony.mous@ex ample.invalid> wrote:
                [color=blue]
                >Quoth the raven named Els:[/color]
                [color=blue]
                >Possibly Mike means that, maybe, he's using IE and it downloads the
                >css file rather than displaying it. Such as this one from my
                >play-around spaces:[/color]

                I mean that if I look at any website online, the css sheet is
                downloaded but not immedieatly available the way the html file is.
                Yes, I've fallen into the trap of using IE 'because it's there'. I
                must try these others.
                [color=blue]
                >The css will be in your browser cache. An alternative would be to use
                >oh, say, a modern browser such as Mozilla or Firefox which will
                >display the file directly in the browser.[/color]

                I know it must be in the cache, but it's one of those places I don't
                usually bother visiting. But thinking about it, it must be a
                treasurehouse of data.

                Thanks.
                --
                Regards from Mike Barnard
                South Coast, UK.

                [To reply by email remove ".trousers" spamtrap from email address]

                Comment

                • Mike Barnard

                  #9
                  Re: Reading a CSS file from an existing website?

                  On Mon, 3 May 2004 23:21:52 +0300, Lauri Raittila
                  <lauri@raittila .cjb.net> wrote:
                  [color=blue]
                  >Depends on browser. AFAIK 3 methods that work in Opera somehow. I don't
                  >know if there is any way to open all realted CSS files whiout opening
                  >some of them manually.[/color]

                  Will explore other browsers, thanks.
                  --
                  Regards from Mike Barnard
                  South Coast, UK.

                  [To reply by email remove ".trousers" spamtrap from email address]

                  Comment

                  • Beauregard T. Shagnasty

                    #10
                    Re: Reading a CSS file from an existing website?

                    Quoth the raven named Mike Barnard:
                    [color=blue]
                    > On Mon, 03 May 2004 19:58:11 GMT, "Beauregard T. Shagnasty"
                    > <a.nony.mous@ex ample.invalid> wrote:
                    >[color=green]
                    >> Possibly Mike means that, maybe, he's using IE and it downloads
                    >> the css file rather than displaying it. Such as this one from my
                    >> play-around spaces:[/color]
                    >
                    > I mean that if I look at any website online, the css sheet is
                    > downloaded but not immedieatly available the way the html file is.
                    > Yes, I've fallen into the trap of using IE 'because it's there'. I
                    > must try these others.[/color]

                    Without a tool such as Brian mentioned, or typing in the URL to the
                    style sheet directly, there isn't an easier way to view. Depending on
                    other factors, the Notepad trick in IE may work (it doesn't in my
                    setup). But that's ok, as I don't use IE for anything but Winders updates.
                    [color=blue][color=green]
                    >> The css will be in your browser cache. An alternative would be to
                    >> use oh, say, a modern browser such as Mozilla or Firefox which
                    >> will display the file directly in the browser.[/color]
                    >
                    > I know it must be in the cache, but it's one of those places I
                    > don't usually bother visiting. But thinking about it, it must be a
                    > treasurehouse of data.[/color]

                    Treasurehouse? <g> First I've heard that one.

                    Not far from my house:
                    Shop new and used Chevrolet vehicles at Tradition Chevrolet Geneva in Geneva, proudly serving Canandaigua, Waterloo, Penn Yan, and Seneca Falls.


                    --
                    -bts
                    -This space intentionally left blank.

                    Comment

                    • Mike Barnard

                      #11
                      Re: Reading a CSS file from an existing website?

                      On Mon, 03 May 2004 21:21:01 GMT, "Beauregard T. Shagnasty"
                      <a.nony.mous@ex ample.invalid> wrote:

                      Thanks again.
                      [color=blue]
                      >Not far from my house:
                      >http://www.mikebarnard.com/[/color]

                      If only! I'm in wet, windy Worthing, on the south coast of the UK.

                      The Argus for news, sport, Brighton and Hove Albion, entertainment, video, blogs and for Brighton Hove Lewes Worthing Shoreham Newhaven and Sussex.



                      --
                      Regards from Mike Barnard
                      South Coast, UK.

                      [To reply by email remove ".trousers" spamtrap from email address]

                      Comment

                      • Mike Barnard

                        #12
                        Re: Reading a CSS file from an existing website?

                        On Mon, 03 May 2004 22:49:36 +0200, Els <els.aNOSPAM@ti scali.nl>
                        wrote:
                        [color=blue][color=green]
                        >> I know it's there, but I can't just 'look' at the server (can I?) to
                        >> download the file. Or any scripts that may be there.[/color]
                        >
                        >No need to. If you find for instance <LINK rel="stylesheet "
                        >type="text/css" href="/default.css">, you take the url from
                        >the page, like http://www.somesite.com/ and paste
                        >default.css after that.
                        >Result: http://www.somesite.com/default.css.
                        >In any browser but IE, this will result in the CSS file
                        >being shown in the browser window. In IE, it usually opens
                        >Notepad or your default text editor, and displays it in there.[/color]

                        New tricks every day. :)
                        [color=blue][color=green][color=darkred]
                        >>>or @import url( .... .css) will show you where it's at.[/color]
                        >>
                        >> New to me but I'll look it up, thanks.[/color]
                        >
                        >Welcome.
                        >[color=green]
                        >> BTW, your "You're saying you don't know...?" comment is VERY
                        >> condesending. No, we DONT all know things. I'm trying to teach
                        >> myself as best as I can.[/color]
                        >
                        >I'm sorry about that, by no means I wanted to sound
                        >condesending . I was just surprised, and therefore not sure[/color]

                        And my reply was a bit of a snap too, sorry.
                        [color=blue]
                        >As for teaching yourself, I think you've got at least one
                        >thing figured out that I didn't when I started: reading and
                        >asking on usenet is very helpful :-)[/color]

                        It's all there; somewhere.

                        --
                        Regards from Mike Barnard
                        South Coast, UK.

                        [To reply by email remove ".trousers" spamtrap from email address]

                        Comment

                        • Stan Brown

                          #13
                          Re: Reading a CSS file from an existing website?

                          "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalid> wrote in
                          comp.infosystem s.www.authoring.stylesheets:[color=blue]
                          >An alternative would be to use
                          >oh, say, a modern browser such as Mozilla or Firefox which will
                          >display the file directly in the browser.[/color]

                          I use Mozilla, but the only way I've been able to get it to display
                          the CSS "right in the browser" is to View Source of the HTML, then
                          put the URL of the CSS in the location window.

                          DOM inspector can show the computed CSS, but it sounds like you have
                          an easy way to view the original style sheet. Please share!

                          --
                          Stan Brown, Oak Road Systems, Cortland County, New York, USA
                          Portal Live Casino Terbaik di DRAGON222! Nikmati taruhan game spesialis Baccarat dan roulette resmi. Mengajak mencari pengalaman bermain yang lebih seru secara online tanpa harus dateng ke casino offline.

                          HTML 4.01 spec: http://www.w3.org/TR/html401/
                          validator: http://validator.w3.org/
                          CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
                          2.1 changes: http://www.w3.org/TR/CSS21/changes.html
                          validator: http://jigsaw.w3.org/css-validator/

                          Comment

                          • Beauregard T. Shagnasty

                            #14
                            Re: Reading a CSS file from an existing website?

                            Quoth the raven named Stan Brown:
                            [color=blue]
                            > "Beauregard T. Shagnasty" <a.nony.mous@ex ample.invalid> wrote in
                            > comp.infosystem s.www.authoring.stylesheets:
                            >[color=green]
                            >> An alternative would be to use oh, say, a modern browser such as
                            >> Mozilla or Firefox which will display the file directly in the
                            >> browser.[/color]
                            >
                            > I use Mozilla, but the only way I've been able to get it to display
                            > the CSS "right in the browser" is to View Source of the HTML, then
                            > put the URL of the CSS in the location window.[/color]

                            This is what I meant. Enter the URL.
                            [color=blue]
                            > DOM inspector can show the computed CSS, but it sounds like you
                            > have an easy way to view the original style sheet. Please share![/color]

                            Actually, I considered the above fairly easy. <g> But the
                            webdeveloper's toolbar will do what you want with a couple clicks.


                            --
                            -bts
                            -This space intentionally left blank.

                            Comment

                            • Brian

                              #15
                              Re: Reading a CSS file from an existing website?

                              Stan Brown wrote:
                              [color=blue]
                              > DOM inspector can show the computed CSS, but it sounds like you have
                              > an easy way to view the original style sheet. Please share![/color]



                              Provide a "view css" under "informatio n" menu.

                              --
                              Brian (remove "invalid" from my address to email me)

                              Comment

                              Working...