Finding out "internal style sheet" of a browser?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kai-Mikael Jää-Aro

    Finding out "internal style sheet" of a browser?

    AIUI, there are no global style defaults for HTML tags, i e the W3C
    does not enforce that e g an <H1> should have a specific type-face,
    size, and so on, but rather this is decided by the browser. Is there
    any way of finding out what the default style settings of a given
    browser is?

  • David Dorward

    #2
    Re: Finding out &quot;intern al style sheet&quot; of a browser?


    Kai-Mikael Jää-Aro wrote:[color=blue]
    > Is there any way of finding out what the
    > default style settings of a given browser is?[/color]

    Well, that rather depends on the browser. Some (and I'd
    bet that MSIE was one of them) may not even implement
    default visual appearance as CSS at all.

    Mozilla based browsers (such as Firefox) have the DOM
    inspector. One of the features of this is that it shows
    you what styles apply to a given element - and where
    they come from. I'm pretty sure that it does show the
    styles built into the browser in this view.

    Comment

    • Kai-Mikael Jää-Aro

      #3
      Re: Finding out &quot;intern al style sheet&quot; of a browser?

      So it does. Thank you!

      Comment

      • Arne

        #4
        Re: Finding out &quot;intern al style sheet&quot; of a browser?

        Once upon a time *Kai-Mikael Jää-Aro* wrote:[color=blue]
        > So it does. Thank you![/color]

        What does what? Who do you thank?

        How to post from Google: http://www.safalra.com/special/googlegroupsreply/

        --
        /Arne
        Now killing all top posters and posters who don't quote
        * How to post: http://www.cs.tut.fi/~jkorpela/usenet/brox.html
        -------------------------------------------------------------

        Comment

        • Leif K-Brooks

          #5
          Re: Finding out &quot;intern al style sheet&quot; of a browser?

          Kai-Mikael Jää-Aro wrote:[color=blue]
          > Is there any way of finding out what the default style settings of a
          > given browser is?[/color]

          In Gecko browsers (Firefox, Mozilla, etc.), try the URIs
          <resource://gre/res/html.css> and <resource://gre/res/quirk.css>.

          Comment

          • Eric Lindsay

            #6
            Re: Finding out &quot;intern al style sheet&quot; of a browser?

            In article <1130934485.870 088.117310@f14g 2000cwb.googleg roups.com>,
            "David Dorward" <dorward@gmail. com> wrote:
            [color=blue]
            > Mozilla based browsers (such as Firefox) have the DOM
            > inspector. One of the features of this is that it shows
            > you what styles apply to a given element - and where
            > they come from.[/color]

            That DOM inspector is wonderful. I haven't used a Mozilla based browser
            for years. I downloaded Firefox to try on broken web pages, but I had
            no idea it had such a neat tool as the DOM inspector. That should
            really help me rewrite some web pages.

            Are there a whole bunch of other nice HTML tools out there? About a
            month ago I started looking for an HTML editor on a Macintosh, and
            downloaded about 30 of them. So far I haven't really particularly liked
            any of the ones I've tried. I've mostly reverted to using the free
            TextEdit (because I always have it open), or the also free TextWrangler,
            which does do a certain amount of color coding but doesn't really have
            HTML support.

            --
            Eric Lindsay's web sites, featuring Airlie Beach diving, sailing tourist area, Psion Epoc computers, Gegenschein Science fiction fanzine.

            Comment

            • kchayka

              #7
              Re: Finding out &quot;intern al style sheet&quot; of a browser?

              Eric Lindsay wrote:[color=blue]
              >
              > That DOM inspector is wonderful.[/color]

              Sure is. :)
              [color=blue]
              > Are there a whole bunch of other nice HTML tools out there?[/color]

              Must have the Web Developer extension to go along with the DOM inspector.
              <URL:http://chrispederick.c om/work/webdeveloper/>

              --
              Reply email address is a bottomless spam bucket.
              Please reply to the group so everyone can share.

              Comment

              • Eric Lindsay

                #8
                Re: Finding out &quot;intern al style sheet&quot; of a browser?

                In article <3svncdFpkh22U1 @individual.net >, kchayka <usenet@c-net.us>
                wrote:
                [color=blue][color=green]
                > > Are there a whole bunch of other nice HTML tools out there?[/color]
                >
                > Must have the Web Developer extension to go along with the DOM inspector.
                > <URL:http://chrispederick.c om/work/webdeveloper/>[/color]

                Thanks. That should be handy.

                --
                Eric Lindsay's web sites, featuring Airlie Beach diving, sailing tourist area, Psion Epoc computers, Gegenschein Science fiction fanzine.

                Comment

                • Harrie

                  #9
                  Re: Finding out &quot;intern al style sheet&quot; of a browser?

                  Leif K-Brooks said the following on 11/3/2005 06:59 +0200:[color=blue]
                  > Kai-Mikael Jää-Aro wrote:
                  >[color=green]
                  >>Is there any way of finding out what the default style settings of a
                  >>given browser is?[/color]
                  >
                  > In Gecko browsers (Firefox, Mozilla, etc.), try the URIs
                  > <resource://gre/res/html.css> and <resource://gre/res/quirk.css>.[/color]

                  On Windows there are a few more (like forms.css) in the program folder in the "res" directory, I couldn't find something like that in Linux.

                  There are also some example files which can be used to override the default files in the users profile (this is the same in Linux).

                  Opera has them in the program folder in the styles directory (on Windows, I don't have it installed in Linux).

                  But generally speaking, look for *.css files on your disk (and exclude the Temporary Internet Files folder (nice scrabble word?).

                  --
                  Regards
                  Harrie

                  Comment

                  Working...