css3 - Design html table as gridView -


i work vb.net. have gridview attribute "gridlines". when gridlines="both" mark lines in color , shape. want same design in regular html table, through css. how can it?

you can using applying class in gridview , set gridlines="none" none. here give example

  <asp:gridview id="grid_patient" style="width: 100%;" cssclass="salesgrid" runat="server" gridlines="none" autogeneratecolumns="false" processfocusedrowchangedonserver="disable" > 

and css below

.salesgrid         {             font-size: 12px;                                             overflow: hidden;             border:1px solid #000000;         } 

Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -