473,594 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What has the page attribute StyleSheetTheme to do with CSS, CascadingStyleS heets?

I am studying a bit and I have encountered some reading stuff about skin
files, css files and themes in asp.net.

To me the name of the StyleSheetTheme page attribute has little a no
connection with CSS files, StyleSheets. It's a level of precedence lower
then the page attribute 'Theme'. Both attributes refer to the name of a
Theme folder that contains skins and css files. But 'StyleSheetThem e' could
iqually be named something like 'DefaultTheme' or 'GeneralTheme'.

Or am I missing something here?

Nov 10 '08 #1
2 3297
AFIC there are some real lame-os working at Microsoft that just don't things
through very well and come up with confusing names. There are two types of
themes: Theme and StyleSheetTheme .

// Theme
When the page is loaded all css styles are bound to their respective
elements in the DOM. The styles in the Theme including any skins are applied
which can and will over-write any other css. All attempts to write a
stylesheet declaration into the head will always be followed by the Theme.

// StyleSheetTheme
When the page is loaded the styles in the StyleSheetTheme and the skin will
be bound to their respective elements in the DOM and css may then be used to
over-ride which is the opposite of the way the Theme works.

Recalling from memory I think I got it right but note its not documented
very as I also recall; a pithy statement in one page at MSDN and that's
that.

And finally no, in the Page directive I'm quite certain the explicit term
StyleSheetTheme must be used.

"Marc" <no*****@chello .nlwrote in message
news:OQ******** *****@TK2MSFTNG P06.phx.gbl...
>I am studying a bit and I have encountered some reading stuff about skin
files, css files and themes in asp.net.

To me the name of the StyleSheetTheme page attribute has little a no
connection with CSS files, StyleSheets. It's a level of precedence lower
then the page attribute 'Theme'. Both attributes refer to the name of a
Theme folder that contains skins and css files. But 'StyleSheetThem e'
could iqually be named something like 'DefaultTheme' or 'GeneralTheme'.

Or am I missing something here?
Nov 10 '08 #2
you override StyleSheetTheme when you you want a default theme applied before
the selected theme. StyleSheetTheme links are generated at the start of the
<head>, theme stylesheets are generated at the end of the <head>

-- bruce (sqlwork.com)
"Marc" wrote:
I am studying a bit and I have encountered some reading stuff about skin
files, css files and themes in asp.net.

To me the name of the StyleSheetTheme page attribute has little a no
connection with CSS files, StyleSheets. It's a level of precedence lower
then the page attribute 'Theme'. Both attributes refer to the name of a
Theme folder that contains skins and css files. But 'StyleSheetThem e' could
iqually be named something like 'DefaultTheme' or 'GeneralTheme'.

Or am I missing something here?

Nov 10 '08 #3

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

Similar topics

6
1829
by: anon | last post by:
Post Forwarding question...... For this control below, <asp:Button runat="server" PostTargetUrl="page2.aspx" /> The Attribute: PostTargetUrl="page2.aspx" Is this PostTargetUrl Attribute going to be available in the <a> and Html Controls as well as opposed to just the <asp:Button> control?
5
1182
by: kevin goff | last post by:
I am seeing that our CPU spikes for several minutes at 100% for the asp.net process. This happens several times a day and seems to last for 10 min or so and use a lot of memory. I'm trying to find out what page it is that is causing these problems. How can i find out what pages are executing at the time of the spike? Thanks, kevin goff kevin_goff@nospam.nospam
2
920
by: HockeyFan | last post by:
in base base class of a codebehind, how can I tell what page it is? I'd like to know what page it is, so that I can redirect to a particular page, get some information from the user, and then return to the page that user was on.
1
2490
by: jobs | last post by:
Is there a way or an attribute I can set so that the selected page number in paging is a different color or is underlined? perhaps it's my skin or css, but In my gridviews I can't tell what page we are on.
0
983
by: RayK50 | last post by:
Using VB.NET 2.0 and a master page, how can I determine what page is currently loaded in a specific content placeholder? Assuming Page1.aspx, Page2.aspx, and Page3.aspx each are defined with ContentPlaceHolderID="mainContent", and are loaded by various user interaction, I would like to know which is currently loaded to skip loading it if it's already loaded.
6
3848
by: Sunfire | last post by:
Is there a way you can test what page is loaded from inside a master page? What I need to do is test to see what page is loaded inside the master page and then gray out the root item linked to that page in the Menu control. I.e. I have a root item called home. When a person is on the home page I want it to be disabled. Any way to do this?
7
1423
by: AAaron123 | last post by:
I'd like to know the page that sent me to the page being displayed. I suppose I could update a session variable in each page, after I use the value from the previous page, but that seems crude. Isn't there a more elegant way? Thanks
0
7877
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8253
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8374
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8009
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8240
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5411
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1482
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1216
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.