Hi, i'm not sure how to resolve this, and i 'll try to explain it as simply as possible.
i have a master page, that has a menu. I wanted to more flexibility for theis menu so i moved it into a control,
here is an exert from the master page...
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<uc1:menu id="Menu1" runat="server" />
</tr>
</table>
in the .cs of menu.ascx i have the menu:
The problem is that the menu contol display at the top of the page not where it should in the html of the master.
I tried client side scripting like div/span with css to control the positioning but nothing seems to work. I scraped the client side code, to try to get at the root of the problem... this is where i am at. Any suggestions?
Thanks
i have a master page, that has a menu. I wanted to more flexibility for theis menu so i moved it into a control,
here is an exert from the master page...
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<uc1:menu id="Menu1" runat="server" />
</tr>
</table>
in the .cs of menu.ascx i have the menu:
Code:
Response.Write("<td width='1%' valign='top'><img src='/images/members-area/nav/space-left.gif' width='13' height='28'></td>");
Response.Write("<td width='1%' valign='top'><a href='/member-area/default.aspx' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('Image7','','/images/members-area/nav/home-down.gif',1)'><img src='/images/members-area/nav/home-down.gif' name='Image7' width='70' height='28' border='0'></a></td>");
Response.Write("<td width='1%' valign='top'><a href='/member-area/profile/default.htm' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('Image8','','/images/members-area/nav/profile-down.gif',1)'><img src='/images/members-area/nav/profile.gif' name='Image8' width='84' height='28' border='0'></a></td>");
Response.Write("<td width='1%' valign='top'><a href='/member-area/plan/default.aspx' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('Image9','','/images/members-area/nav/plan-down.gif',1)'><img src='/images/members-area/nav/plan.gif' name='Image9' width='66' height='28' border='0'></a></td>");
Response.Write("<td width='1%' valign='top'><a href='/member-area/goals/default.aspx' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('Image10','','/images/members-area/nav/goals-down.gif',1)'><img src='/images/members-area/nav/goals.gif' name='Image10' width='74' height='28' border='0'></a></td>");
Response.Write("<td width='1%' valign='top'><a href='/member-area/risks/sectionrisk.aspx?RiskID=0' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('Image11','','/images/members-area/nav/risks-down.gif',1)'><img src='/images/members-area/nav/risks.gif' name='Image11' width='69' height='28' border='0'></a></td>");
Response.Write("<td width='1%' valign='top'><a href='/member-area/results/default.aspx' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('Image12','','/images/members-area/nav/results-down.gif',1)'><img src='/images/members-area/nav/results.gif' name='Image12' width='87' height='28' border='0'></a></td>");
Response.Write("<td width='1%' valign='top'><a href='/member-area/resources/default.htm' onMouseOut='MM_swapImgRestore()' onMouseOver='MM_swapImage('Image13','','/images/members-area/nav/resources-down.gif',1)'><img src='/images/members-area/nav/resources.gif' name='Image13' width='106' height='28' border='0'></a></td>");
Response.Write("<td width='99%' valign='top'><img src='/images/members-area/nav/space-right.gif' width='209' height='28'></td>");
The problem is that the menu contol display at the top of the page not where it should in the html of the master.
I tried client side scripting like div/span with css to control the positioning but nothing seems to work. I scraped the client side code, to try to get at the root of the problem... this is where i am at. Any suggestions?
Thanks