J
JezB
What's the generally accepted approach for using Styles and Stylesheets in a
web application based on .aspx files, Web Controls, User Controls, and
code-behind modules (c# in my case)? Most style and stylesheet guides on the
internet seem to be based on web sites (rather than applications) based on
relatively static textual information.
I have read that external stylesheet files are the way to go, but it seems
to me that these only lend themselves to defining "generic" styles shared by
all your pages, whereas page-specific settings (such as the position of each
item on the page) are most easily embedded directly into your .aspx pages as
in-line styles - but then you lose all the benefits of true separation
right? (maintainability, scalability, accessibility, etc).
It seems to me too cumbersome to separate such positioning of individual
items into page-specific stylesheet files - I'd have to define one class per
page control and then link the control to the class, correct?
Are there any guidelines available on this ? Could anyone point me in the
right direction ?
web application based on .aspx files, Web Controls, User Controls, and
code-behind modules (c# in my case)? Most style and stylesheet guides on the
internet seem to be based on web sites (rather than applications) based on
relatively static textual information.
I have read that external stylesheet files are the way to go, but it seems
to me that these only lend themselves to defining "generic" styles shared by
all your pages, whereas page-specific settings (such as the position of each
item on the page) are most easily embedded directly into your .aspx pages as
in-line styles - but then you lose all the benefits of true separation
right? (maintainability, scalability, accessibility, etc).
It seems to me too cumbersome to separate such positioning of individual
items into page-specific stylesheet files - I'd have to define one class per
page control and then link the control to the class, correct?
Are there any guidelines available on this ? Could anyone point me in the
right direction ?