I am trying to style the gridview using CSS so that the surrounding borders and headers are removed but i am having issues regarding this. The changes are not being made apart from the border-style.
Here is my sample CSS code
#ProductGrid
{
border-style:none;
border-top:none;
border-bottom:none;
}
#ProductGrid table
{
border-style:none;
margin-left:6%;
}
#ProductGrid td
{
border-style:none;
}
#ProductGrid tr
{
border-style: none;
}
#ProductGrid th
{
border-style:none;
}
So when i view the page in the web browser the Gridview is still displayed with its original styling set. Do i have to disable the Gridview Styling in the properties of Visual Studio in order to use my CSS?
Thanks,

New Topic/Question
Reply



MultiQuote





|