C
Clinton Farleigh
Hi,
I was going to ask a question, but I think I've answered it so now I am
going to rant about how crappy ASP.NET themes are instead.
As I've indicated above, my problem today is with themes. Per
microsoft "Only one theme can be applied to each page. You cannot apply
multiple themes to a page, unlike style sheets where multiple style
sheets can be applied."
Quote is from here:
http://msdn2.microsoft.com/en-us/library/ykzx33wh.aspx
Basically this says to me that themes cannot cascade (or inherit from
each other) like stylesheets. Right away I see a few obvious problems
with this:
1) you cannot share resources between themes. Every common file must
be duplicated in every theme that uses it (with exception of image
files as far as I can tell). Even completely different themes are
likely to have at least some elements in common.
2) css by nature is cascading. Not provided themes that inherit from
each other breaks this cascading ability. Every stylesheet in your
theme will be included on every page. Why not just build one giant
ugly stylesheet for every theme?
Why does Microsoft have to try to be smarter than the w3c?
If anyone has any suggestions or corrections please feel free to let me
know! I appreciate any help or criticism.
Thanks.
Clint.
I was going to ask a question, but I think I've answered it so now I am
going to rant about how crappy ASP.NET themes are instead.
As I've indicated above, my problem today is with themes. Per
microsoft "Only one theme can be applied to each page. You cannot apply
multiple themes to a page, unlike style sheets where multiple style
sheets can be applied."
Quote is from here:
http://msdn2.microsoft.com/en-us/library/ykzx33wh.aspx
Basically this says to me that themes cannot cascade (or inherit from
each other) like stylesheets. Right away I see a few obvious problems
with this:
1) you cannot share resources between themes. Every common file must
be duplicated in every theme that uses it (with exception of image
files as far as I can tell). Even completely different themes are
likely to have at least some elements in common.
2) css by nature is cascading. Not provided themes that inherit from
each other breaks this cascading ability. Every stylesheet in your
theme will be included on every page. Why not just build one giant
ugly stylesheet for every theme?
Why does Microsoft have to try to be smarter than the w3c?
If anyone has any suggestions or corrections please feel free to let me
know! I appreciate any help or criticism.
Thanks.
Clint.