469,267 Members | 1,007 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,267 developers. It's quick & easy.

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?

Nov 2 '05 #1
8 4611

Kai-Mikael J-Aro wrote:
Is there any way of finding out what the
default style settings of a given browser is?


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.

Nov 2 '05 #2
So it does. Thank you!

Nov 2 '05 #3
Once upon a time *Kai-Mikael J-Aro* wrote:
So it does. Thank you!


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
-------------------------------------------------------------
Nov 2 '05 #4
Kai-Mikael J-Aro wrote:
Is there any way of finding out what the default style settings of a
given browser is?


In Gecko browsers (Firefox, Mozilla, etc.), try the URIs
<resource://gre/res/html.css> and <resource://gre/res/quirk.css>.
Nov 3 '05 #5
In article <11**********************@f14g2000cwb.googlegroups .com>,
"David Dorward" <do*****@gmail.com> wrote:
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.


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.

--
http://www.ericlindsay.com
Nov 3 '05 #6
Eric Lindsay wrote:

That DOM inspector is wonderful.
Sure is. :)
Are there a whole bunch of other nice HTML tools out there?


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

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Nov 4 '05 #7
In article <3s************@individual.net>, kchayka <us****@c-net.us>
wrote:
Are there a whole bunch of other nice HTML tools out there?


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


Thanks. That should be handy.

--
http://www.ericlindsay.com
Nov 4 '05 #8
Leif K-Brooks said the following on 11/3/2005 06:59 +0200:
Kai-Mikael Jää-Aro wrote:
Is there any way of finding out what the default style settings of a
given browser is?


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


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
Nov 10 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

52 posts views Thread by Markus Elfring | last post: by
5 posts views Thread by Jeremy | last post: by
5 posts views Thread by Tobin Fricke | last post: by
2 posts views Thread by Steve Richter | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.