Hi I have created a VS2010 list definition and I wanted to use a custom editform.aspx . I have done this succesful with c# behind which writes data back to the list
What I would like is use the same CSS as Sharepoint so it looks like OOTB Editform.aspx
How and what CSS elements required to do this.
So far i have found this
<SharePoint:CssRegistration Name="forms.css" runat="server"/>
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="190px" valign="top" class="ms-formlabel">
<H3 class="ms-standardheader">
<nobr>TitleXXXXXXXXXX<span class="ms-formvalidation"> *</span>
</nobr>
</H3>
</td>
<td width="400px" valign="top" class="ms-formbody">
hello there
</td>
</tr>
</table>
but it doesnt render like Sharepoint OOTB and am not sure.
As anyone got a sample code which get the CSS and apply classes ????
What I would like is use the same CSS as Sharepoint so it looks like OOTB Editform.aspx
How and what CSS elements required to do this.
So far i have found this
<SharePoint:CssRegistration Name="forms.css" runat="server"/>
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="190px" valign="top" class="ms-formlabel">
<H3 class="ms-standardheader">
<nobr>TitleXXXXXXXXXX<span class="ms-formvalidation"> *</span>
</nobr>
</H3>
</td>
<td width="400px" valign="top" class="ms-formbody">
hello there
</td>
</tr>
</table>
but it doesnt render like Sharepoint OOTB and am not sure.
As anyone got a sample code which get the CSS and apply classes ????