473,405 Members | 2,176 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,405 software developers and data experts.

STYLESHEET/THEME CSS Object

I have an ASP.NET 2.0 web app where I have implemented the use of themes and
profiles, such that users can select themes via their profile, and admins can
modify the css of the themes.

All good and well.

However... I regularly need to be able to inspect the values of css rules
that will be applied by the theme selected, as sometimes I need to take the
active settings into account, and there appears to be no mechanism in asp.net
for me to do that ??

Does anyone have any experience with this, or ideas on how to parse a css
file (including any @imports) either from the active page theme or explicit
url, into an object reference that can be used by standard server code (e.g.
c#).

There are equivalent classes available for both PHP and JAVA, but I blowed
if I can find anything to allow me to achieve it with any of the standard
ASP.NET languages.

I’d actually pay good money for such a class/dll that worked as advertised,
but even some pointers in how to build such a thing myself would be
appreciated.

Cheers,

-- MB.
Feb 10 '07 #1
0 997

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

Similar topics

0
by: sasquatch | last post by:
Hi, I've a a site with nested master pages and content pages. I tried using a theme with a stylesheet in the app_themes directory referencing it in the web.config file from a pages tag theme...
7
by: sasquatch | last post by:
Hi, I've a a site with nested master pages and content pages. I tried using a theme with a stylesheet in the app_themes directory referencing it in the web.config file from a pages tag theme...
0
by: Robert | last post by:
Hi all, I've got a stylesheet defining 3-column layout using CSS stylesheet. I used to define this stylesheet this way: <link href="Whatever/Style.css" rel="stylesheet" type="text/css" /> and in...
1
by: kpg | last post by:
Hi all, I am setting an image on a page and the image is defined in the stylesheet unsed a theme folder. Problem is no matter how I define the image url it does not display. The site has...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.