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

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -