Unfortunately, no, as the control gets embedded in the page. If the control
needs different formatting than the rest of the app, either apply both
stylesheets to the page, in proper order, so they "cascade" properly or have
different style names in the control that requires different formatting.
If you are formatting HTML tags, subclass them for the control.
<H1 class="controlHeader">Header in control</H1>
H.controlHeader
{
}
etc.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
***************************
Think Outside the Box!
***************************
"iv**********@gmail.com" wrote:
I have a main page(aspx) with a usercontrol(ascx).
Page has <LINK href="Styles.css" type="text/css" rel="StyleSheet">
Control has <LINK href="NovostiStyle.css" type="text/css"
rel="stylesheet">
The table style defined in usercontrol's css somehow gets applied to
table elements in main page.
Is there a way to limit the scope of NovostiStyle.css to the
usercontrol only ?