[Lift] Re: Setting Table Border
Get firebug and look at the CSS hierarchy for the element. That should locate where it's being overridden pretty quickly. Derek On Mon, Oct 19, 2009 at 9:53 PM, sunanda sunanda.pa...@gmail.com wrote: Thats what I wonder. It should work. When I refer to a css file with the border setting it works, but not with the setting from the snippet. I need to figure it out. Thanks for your reply. Sunanda. On Oct 20, 2:35 pm, Ross Mellgren dri...@gmail.com wrote: 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 bDisplay Name/b/td td{coldef.displayname}/td /tr tr tdbColumn Type/b /td td {coldef.coltype}/td /tr /table }- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[Lift] Re: Setting Table Border
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 bDisplay Name/b/td td{coldef.displayname}/td /tr tr tdbColumn 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 -~--~~~~--~~--~--~---
[Lift] Re: Setting Table Border
Thats what I wonder. It should work. When I refer to a css file with the border setting it works, but not with the setting from the snippet. I need to figure it out. Thanks for your reply. Sunanda. On Oct 20, 2:35 pm, Ross Mellgren dri...@gmail.com wrote: 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 bDisplay Name/b/td td{coldef.displayname}/td /tr tr tdbColumn Type/b /td td {coldef.coltype}/td /tr /table }- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---