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

best way to read CSS information?

PJ6
OK I know I can just open up the CSS file directly and use a text reader if
I need to, but I'm sure there is a built-in way to do this, especially to
get the information already parsed... I just can't find it. Can somone point
me in the right direction?

TIA,
Paul
Nov 19 '05 #1
2 1110
nothing built in. .net has a parser for tag inline styles, which need to be
parsed, but only the VS IDE needs a parser for CSS files, neither asp.net
nor the framework need one.

you can host an instance if the WebBrowser control (IE), load an CSS style
file, and access the parsed values via the browser dom.

-- bruce (sqlwork.com)

"PJ6" <no****@nowhere.net> wrote in message
news:O5**************@TK2MSFTNGP14.phx.gbl...
OK I know I can just open up the CSS file directly and use a text reader
if I need to, but I'm sure there is a built-in way to do this, especially
to get the information already parsed... I just can't find it. Can somone
point me in the right direction?

TIA,
Paul

Nov 19 '05 #2
PJ6
Hmm. I think that was the wrong direction to go anyway...

Thanks,
Paul

"Bruce Barker" <br******************@safeco.com> wrote in message
news:um**************@TK2MSFTNGP14.phx.gbl...
nothing built in. .net has a parser for tag inline styles, which need to
be parsed, but only the VS IDE needs a parser for CSS files, neither
asp.net nor the framework need one.

you can host an instance if the WebBrowser control (IE), load an CSS style
file, and access the parsed values via the browser dom.

-- bruce (sqlwork.com)

"PJ6" <no****@nowhere.net> wrote in message
news:O5**************@TK2MSFTNGP14.phx.gbl...
OK I know I can just open up the CSS file directly and use a text reader
if I need to, but I'm sure there is a built-in way to do this, especially
to get the information already parsed... I just can't find it. Can somone
point me in the right direction?

TIA,
Paul


Nov 19 '05 #3

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

Similar topics

11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
1
by: Herve MAILLARD | last post by:
Hi, I have to write a software doing the following : - Load a file (containing data) Data will be display in a Treeview and are typed as following Equipement Bloc Tag It could have for each...
8
by: Steve | last post by:
Can anyone tell me the preferred method for writing and retrieving persistent information using .Net. Specifically, I am referring to information that you used to see in registry keys or .ini...
4
by: David Pinx | last post by:
Greetings, I will be developing an application that will have two versions, a web application to be deployed at the client side and a windows application. The question is, what would be the...
1
by: LilC | last post by:
I'm creating an application that has a standard layout for all pages. The information that is displayed in the layout will be dynamic based on the user that is logged in. Thus when a page is...
6
by: JM | last post by:
I have never used a (content management system) CMS before but I need one for my internship as a webdeveloper. Requirements: runs on Apache, linux or unix, MySQL and PHP (maybe Windows server...
3
by: gordon | last post by:
Hi I am looking to store some details about a user's configuration choices, in particular the place where they have installed some data files, the OS that they use, and their Windows user name. ...
8
by: CptDondo | last post by:
I have a small, embedded app that uses a webserver to serve up pages showing status, etc. Right now all the pages are hard-coded in English. We need to provide multi-lingual support. All of...
9
by: =?Utf-8?B?QW1tZXI=?= | last post by:
I've read many incomplete opinions about the "Best Practice" for securely accessing SQL but what I really need to find the "Best Practice" that fits my applications needs. Currently (alpha...
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
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: 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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.