473,386 Members | 1,962 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Tracking down a inheritence problem

I have a font size being applied to an element, however I have been unable
to track where it is coming from.

Is there an app that will tell you the complete style sheet property of an
element and where it came from.

If not how do you track these problems down.

regards Paul
Jul 20 '05 #1
11 1681
Paul C wrote:
I have a font size being applied to an element, however I have been unable
to track where it is coming from.

Is there an app that will tell you the complete style sheet property of an
element and where it came from.

If not how do you track these problems down.


Posting a URL here might help.

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #2

"Mark Tranchant" <ma**@tranchant.plus.com> wrote in message
news:41***********************@ptn-nntp-reader04.plus.net...
Paul C wrote:
I have a font size being applied to an element, however I have been unable to track where it is coming from.

Is there an app that will tell you the complete style sheet property of an element and where it came from.

If not how do you track these problems down.


Posting a URL here might help.

--
Mark.
http://tranchant.plus.com/


This was more of a self help question, in regards to tools used. I am also
looking for a document tree program. Both combined would be excellent. I
think this would be a useful tool.

regards Paul

Jul 20 '05 #3
Paul C wrote:
I have a font size being applied to an element, however I have been unable
to track where it is coming from.

Is there an app that will tell you the complete style sheet property of an
element and where it came from.

If not how do you track these problems down.


1. Install Firefox, ensuring you choose a custom installation and
include the Developer Tools
2. Install the Web Developer Toobar extension, noting the CSS->View
Style Information menu option
3. Profit!!!!

P
Jul 20 '05 #4
On Fri, 17 Sep 2004 08:57:47 +0100, Paul C <P@cookson_remove_.demon.co.uk>
wrote:
I have a font size being applied to an element, however I have been
unable
to track where it is coming from.

Is there an app that will tell you the complete style sheet property of
an
element and where it came from.

If not how do you track these problems down.


1) Read up in the specs on inferitance, it gets weird. Fixed sizes are
inherited from parents. But %'s are multiplied, so if body {font-size:
111%} and p {font-size: 90%;}, the rendered size of p is actually 99.9%.

2) Some quirks situations make, say, table fonts different than you'd
expect. So use a strict doctype to minimize this.

In the CSS rec there's a sample stylesheet for HTML. No UA is required to
use it for default rendering, but most are pretty close.
Jul 20 '05 #5
Neal <ne*****@yahoo.com> writes:
1) Read up in the specs on inferitance, it gets weird. Fixed sizes are
inherited from parents. But %'s are multiplied, so if body {font-size:
111%} and p {font-size: 90%;}, the rendered size of p is actually
99.9%.


To complicate further, assuming that 100% is set to an integer size,
the browser might round the fractional 99.9% up or down, depending on
the browser, the phase of the moon, and the fonts available on the
system.

--
Chris
Jul 20 '05 #6
On 17 Sep 2004 17:39:20 +0100, Chris Morris <c.********@durham.ac.uk>
wrote:
Neal <ne*****@yahoo.com> writes:
1) Read up in the specs on inferitance, it gets weird. Fixed sizes are
inherited from parents. But %'s are multiplied, so if body {font-size:
111%} and p {font-size: 90%;}, the rendered size of p is actually
99.9%.


To complicate further, assuming that 100% is set to an integer size,
the browser might round the fractional 99.9% up or down, depending on
the browser, the phase of the moon, and the fonts available on the
system.


.... so the best solution is to avoid changing font size in these
situations!

If you set body {font-size: 100%} and change only those elements which
should not be rendered at that size, it'll work out quite simply.
Jul 20 '05 #7

"Phil Evans" <ne********@philHADDOCKevans.removethefish.com> wrote in
message news:10***************@smtp-1.griffin.com...
Paul C wrote:
I have a font size being applied to an element, however I have been unable to track where it is coming from.

Is there an app that will tell you the complete style sheet property of an element and where it came from.

If not how do you track these problems down.


1. Install Firefox, ensuring you choose a custom installation and
include the Developer Tools
2. Install the Web Developer Toobar extension, noting the CSS->View
Style Information menu option
3. Profit!!!!

P


This is exactly what I wanted -

Thanks. One more convert to firefox.

regards Paul
Jul 20 '05 #8
"Paul C" <P@cookson_remove_.demon.co.uk> wrote in message > This is exactly
what I wanted -

Thanks. One more convert to firefox.

regards Paul


What's the difference between Firefox & Mozilla? Aren't they from the same
stable?
--
####################
## PH, London
####################
Jul 20 '05 #9
Philip Herlihy wrote:
"Paul C" <P@cookson_remove_.demon.co.uk> wrote in message > This is exactly
what I wanted -
Thanks. One more convert to firefox.

regards Paul


What's the difference between Firefox & Mozilla? Aren't they from the same
stable?


They both use the same rendering engine (Gecko) but Firefox is wrapped
differently - and in many people's opinions, better.

P
Jul 20 '05 #10
"Phil Evans" <ne********@philHADDOCKevans.removethefish.com> wrote in
message news:10***************@smtp-1.griffin.com...
What's the difference between Firefox & Mozilla? Aren't they from the same stable?


They both use the same rendering engine (Gecko) but Firefox is wrapped
differently - and in many people's opinions, better.


Thanks - I'll try it.

PH
Jul 20 '05 #11
Philip Herlihy wrote:
What's the difference between Firefox & Mozilla? Aren't they from
the same stable?


"Mozilla" -- now called Mozilla Seamonkey -- is a suite of applications
(browser, email client, chat client, etc). Firefox is just the web
browser, with a simpler user interface.
--
Brian (remove "invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mcstock | last post by:
before i begin to roll my own, can anybody recommend a web-based application design & tracking tool that provides: functional hierarchy/network definition work break-down structures module...
7
by: preetam | last post by:
Hi, This question is more towards design than towards c++ details. By looking at books on design patterns and various google threads on the same topic, I see that composition is favoured to...
5
by: gsb | last post by:
I track the mouse location like this code: function mousePos(e) { var p = new Object(); if(e) { p.x = e.pageX; p.y = e.pageY; } else { p.x = event.x; p.y = event.y; } ... (show) }...
3
by: Kyle Friesen via AccessMonster.com | last post by:
Mike, I have databse that creates a "tracking number" based on the selections made on the form via concatenating. At the end of the tracking number, I need a two digit (01-99) sequence number by...
16
by: Ben | last post by:
I'm doing a bunch of data mining against a postgres database and have run into an interesting problem with deadlocks. The problem is, postgres is detecting them and then wacking the offending...
5
by: Neelesh Bodas | last post by:
This might be slightly off-topic. Many books on C++ consider multiple inheritence as an "advanced" concept. Bruce Eckel says in TICPP, volume 2 that "there was (and still is) a lot of...
6
by: depkefamily | last post by:
I have a large C++ program using multiple vendors DLLs which is giving me a major headache. Under release mode I get exceptions thrown from what looks like a dereferenced corrupt pointer. The...
3
by: =?Utf-8?B?R3JhaGFt?= | last post by:
I've added 2 tracking services to the wf runtime; one is the standard SqlTrackingService: trackingService = new SqlTrackingService(<trackingConnectionString>); <workflow...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...

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.