473,378 Members | 1,623 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,378 software developers and data experts.

Looking for tools


I'm working primarily on Linux with Konqueror. To Firefox I resort only
for testing compatibility and when I need some feature from its Web
Developer extension. Thus my perspective is probably rather narrow. My
work with CSS all happens at a low level of abstraction. Basically, I
edit stylesheets by hand and get some abstraction by using a
preprocessor that allows me to use constants. I'm curious whether there
are tools that make working with CSS easier. Here are some things I can
think of

* Annotated HTML markup showing for each element which rules are
applied.
* Transformation from CSS2.1 to CSS1 with embellishments to the HTML
markup so that selectors find their target.
* A transformation that moves attributes up the cascade.
* Selector simplification. Given a few concrete documents, simplify
selectors so that they become shorter and still match the same
elements.

Do tools exist that provide functions like these? Are there other tools
you find helpful?

Michael

--
Michael Schuerig Airtight arguments have
mailto:mi*****@schuerig.de vacuous conclusions.
http://www.schuerig.de/michael/ --A.O. Rorty, Explaining Emotions

Sep 17 '05 #1
4 1351
On Sat, 17 Sep 2005 19:21:38 +0200 in
comp.infosystems.www.authoring.stylesheets, Michael Schuerig favored
us with...
I'm curious whether there
are tools that make working with CSS easier. Here are some things I can
think of

* Annotated HTML markup showing for each element which rules are
applied.


Does Firefox have DOM inspector (as its parent Mozilla does)? DOM
inspector does an excellent job of showing which rules are applied to
the currently selected element, and the computed result of the rules.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Sep 18 '05 #2
On Sat, 17 Sep 2005 19:21:38 +0200 in
comp.infosystems.www.authoring.stylesheets, Michael Schuerig favored
us with...
* Selector simplification. Given a few concrete documents, simplify
selectors so that they become shorter and still match the same
elements.


The problem with doing this is that it will most likely change the
specificity. And that in turn may change which selector applies to a
given element.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Sep 18 '05 #3
Stan Brown wrote:
On Sat, 17 Sep 2005 19:21:38 +0200 in
comp.infosystems.www.authoring.stylesheets, Michael Schuerig favored
us with...
I'm curious whether there
are tools that make working with CSS easier. Here are some things I
can think of

* Annotated HTML markup showing for each element which rules are
applied.


Does Firefox have DOM inspector (as its parent Mozilla does)? DOM
inspector does an excellent job of showing which rules are applied to
the currently selected element, and the computed result of the rules.


Yes, that's available and works well when I want to look at a single
node. It's very unwieldy when I want to get an idea of the whole page.

Michael

--
Michael Schuerig Airtight arguments have
mailto:mi*****@schuerig.de vacuous conclusions.
http://www.schuerig.de/michael/ --A.O. Rorty, Explaining Emotions

Sep 18 '05 #4
Stan Brown wrote:
On Sat, 17 Sep 2005 19:21:38 +0200 in
comp.infosystems.www.authoring.stylesheets, Michael Schuerig favored
us with...
* Selector simplification. Given a few concrete documents, simplify
selectors so that they become shorter and still match the same
elements.


The problem with doing this is that it will most likely change the
specificity. And that in turn may change which selector applies to a
given element.


Yes, it is meant to change the specificity, but only so much that for
the concrete cases the sets of selected elements stay the same.

I don't claim that this is incredibly useful and I wouldn't want to
apply such a function blindly. However, it could be helpful to identify
selectors that are just too complicated.

Another interesting tool would be one where I can visually select a set
of nodes and get a maximally general selector that picks out just these
nodes.

Michael

--
Michael Schuerig This is not a false alarm
mailto:mi*****@schuerig.de This is not a test
http://www.schuerig.de/michael/ --Rush, Red Tide

Sep 18 '05 #5

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

Similar topics

0
by: Nunya D. Bidness | last post by:
If anyone is interested in testing these components goto http://www.vibrantinnovations.com/vibrantlayouttools.asp The Vibrant Layout Tools ActiveX component is a suite of tools that allow...
0
by: O. Kouame | last post by:
Hi all, I'm looking for a set of tools that will allow me to run a simulation of a company database, with intelligent agents masquerading as database users and interacting in real-time. The...
1
by: reg | last post by:
I am looking for the right tools to do application monitoring. I'm hoping to find one single tool that can do the entire job but if it does not exist then a few monitoring apps would do as...
6
by: P Jones | last post by:
Hi, I support an enterprise web application (IE client) built in VB6, with about 200 classes, serving about 7000 users, running on 3 clustered servers. I need to incorporate web reporting for...
1
by: Johann Blake | last post by:
I am looking for a good solution on how to implement data access in an application so that there is a clean separation between the data access layer, the business layer and the GUI layer. I am...
5
by: Matt England | last post by:
I lead a large C++ development project (the open-source portion of which can be found here: <http://svn.cleversafe.org/dscore/>), and I'm interested in leveraging C++ "Program Analyzers" to detect...
12
by: amogan | last post by:
**If interested & qualified, please reply with your resume directly to amogan@google.com** Referrals are always welcome!! Network System Test Engineer - Mountain View This position is...
6
by: beantaxi | last post by:
Hello all, I'm looking for a very simple code analysis tool. I have a large codebase to analyze, and all I really need to do is to find all uses of all methods in a few interfaces. Many tools...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.