How to change grid lines color using css and/or skin?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bogdan

    How to change grid lines color using css and/or skin?

    Hi,

    I'm using skin and css to style a gridview. I've run into something that
    seems like a very trivial problem - I can't change color of lines within a
    gridview. Setting the border color has not affect on the lines. Could
    someone please let me know how to do that?

    Thanks,
    Bogdan


  • Alexey Smirnov

    #2
    Re: How to change grid lines color using css and/or skin?

    On Nov 5, 6:15 pm, "Bogdan" <bog...@nocompa ny.comwrote:
    Hi,
    >
    I'm using skin and css to style a gridview.  I've run into something that
    seems like a very trivial problem - I can't change color of lines within a
    gridview.  Setting the border color has not affect on the lines.  Could
    someone please let me know how to do that?
    >
    Thanks,
    Bogdan
    Hi Bogdan

    Try this

    <asp:gridview ID="GW" runat="server">
    <rowstyle cssclass="GridV iewRow" />
    </asp:gridview>

    and

    ..GridViewRow td
    {
    border: 1px solid green;
    }

    Hope this helps

    Comment

    Working...