473,796 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4816

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************ **********@f14g 2000cwb.googleg roups.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.c om/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.c om/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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
40770
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div style="display:none"> can be displayed by setting the style attribute to "display:", or hidden with "display:none". This gives the illusion that the person filling out the form is switching from page to page...without the overhead of extra hits on the server,...
52
4205
by: Markus Elfring | last post by:
How much are you interested that the attribute "style" will offer the same or similar capabilities like they are provided by the element "style" in the element "head"? Do you want that the document "Syntax of CSS rules in HTML's "style" attribute" (http://www.w3.org/TR/css-style-attr) will become an official recommendation in the near future? Best regards, Markus Elfring
5
2351
by: Jeremy | last post by:
Apologies if the terminology isn't quite right here... say we have the following code: <SELECT NAME="p1_val" class=list-element> If the class "list-element" isn't defined, is it possible to specify an alternative class that is to be used? (Rather like the <font face=...>
12
3095
by: relaxedrob | last post by:
Hi All! I have a page with with the following style information: <link rel="stylesheet" type="text/css" href="/eEmployment/eTech.css" /> <style type="text/css"> DIV.Application { BACKGROUND-IMAGE:url(/someImage.jpg); }
15
122167
by: Gérard Talbot | last post by:
Hello all, I'd like to know and understand the difference between, say, <img src="/ImageFilename.png" width="123" height="456" alt=""> and <img src="/ImageFilename.png" style="width: 123px; height: 456px;" alt="">
9
2695
by: Max Weebler | last post by:
Hi, I have a datagrid built that has an alternating item style that sets the backcolor and ForeColor of its rows. I have 4 template columns. One of them has a LinkButton embedded in it to perform updates. All the styles that are set are being followed by all templated columns with the exception for the update column. The update column does set the BackColor appropriately but when setting its ForeColor the LinkButton's color is blue and...
5
5486
by: Tobin Fricke | last post by:
In posting to a blog, I would like to bold every list item (<li>). Because I cannot influence the <head>...</head> section of the HTML document, I can neither add a <style>...</style> block, nor reference an external style sheet. Is there a way to accomplish this using the "style" attribute and/or using div or span tags? I want to do something like this: <!-- desired application of css !--> <div style="li {font-weight: bold;}">
2
8687
by: Steve Richter | last post by:
I would like to use display:inline and other CSS attributes to build an entry form. Where the heading to the left of the text box is always a set width. It is not working so I am experimenting with two divs to get them to render side by side: <div style="width:12em;border: 2px solid #EFCE8C; padding: 0.5em;display:inline;">abc</div> <div style="width:12em;border: 2px solid #EFCE8C; padding:
0
2456
by: jonny | last post by:
The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- A name was started with an invalid character. Error processing resource 'http://localhost/Downtime/JohnsSite/Default.aspx'....
0
10465
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10242
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10200
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6800
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5453
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2931
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.