Read CSS in VB.net code

  • Thread starter Thread starter steve
  • Start date Start date
S

steve

Is there an object that I can instantiate to read a CSS? We have some
webpages that we build dynamically in VB.net code and apply such things as
color, background color, font etc. to directly in the code. I would like to
be able to read a CSS and pull out what I need from that. Is there a way to
do this?


Thanks!
Steve
 
i dont think there is but it'd be nice if there was one (hint, hint)!

Can you use XML to define those css style rules?
 
Steve,

As you can write a file, than in my opinion can you as well always read a
fill. What is it we miss?

Cor
 
I was wondering if there were a way to read a CSS via code using an object.
I know I can parse it out myself, but that's open to a lot of errors. I was
hoping there were some way to instantiate an object, open the CSS with it
and then gain access to a collection of styles or something like that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top