I have used the Application Styling Configuration tool in Visual Studio to style my entire application (before creating any pages, controls, etc.) and it works great. However, I would like to know how I would tie page elements to the style. For instance, how do I tie the page's background color or header color, etc. to elements in the style set?
Thanks in advance!
Nathon Dalton
I was able to get this answer from Infragistics.
You have to create a CSS class that targets the page itself. When Infragistics made the ASP.NET app styles, they made them target their own controls and not the whole page. The AppStylist also only edits Infragistics controls, so these additional CSS classes have to be made outside of the AppStylist tool.
How did you create a CSS class that targets the page itself? Could you provide an example?
Thanks,
Keith
Since my app was already using the app stylist to style the entire application, I just edited the /ig_res/STYLENAME/ig_shared.css file and added a body {} class to it with the styles I wanted contained in it.
Example:
body{ margin: 0; padding: 0px 0px 0px 0px; font-family: "Arial", "MS Sans Serif", "Times New Roman"; font-size: 12px;}
It picked up the styles no problem.