That looks right to me -- it should show a border with a default stylesheet. When I throw that <table>...</table> into a HTML file by itself, I get a border.
-Ross On Oct 19, 2009, at 8:47 PM, sunanda wrote: > > Hi, > I need to display the table with border. > Following is the sample code. > But it is not displaying the border.Is this the correct way of setting > the border. > > Sunanda > > > def displayColDef(selectedname:String):NodeSeq={ > > val coldef = getColDef(selectedname) > <table border="2"> > <tr> > <td> <b>Display Name</b></td> > <td>{coldef.displayname}</td> > </tr> > <tr> > <td><b>Column Type</b> </td> > <td> {coldef.coltype}</td> > </tr> > </table> > } > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---