Refer to Content page from Master page

  • Thread starter Thread starter Mark B
  • Start date Start date
M

Mark B

I have a Master page that includes the following:

<tr>
<td>&nbsp;<br /><br />
<table border="0">
<asp:ContentPlaceHolder id="ContentPlaceHolderMain1" runat="server">
</asp:ContentPlaceHolder>

</table>
</td>
</tr>


If the content page is the home page I don't want the Master page to output
the second line (since we have a flash animation on the homepage that
requires no top border):

<td>&nbsp;<br /><br />

For all other pages though the space at the top is fine. Is there some code
I could put in the Master page that would only display "<td>&nbsp;<br /><br
/>" if the content page is not the home page?
 
Back
Top