Problem Formatting GridView using .CSS in Site.Master Sub-Form
Posted on 2007-10-09
To sum it up, I have a Site.Master, a sub form, and a .css stylesheet. The sub form has a GridView in it. I have the CssClass="gvw" for the gridview, but it still won't pick up the formatting from the stylesheet. The Site.Master links to my stylesheet named Styles.css. Other controls are formatted fine using this, which tells me that the stylesheet is linking fine in the sub forms, however, the gridview WILL NOT FORMAT. The gridview css formatting displays in the designer, but in runtime, all formatting is lost.
Here is my Styles.css:
border: 2px solid #711515;
THE GRIDVIEW WILL NOT FORMAT USING THE ABOVE .CSS. ANY IDEAS?