Click here to Skip to main content
15,915,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,

I have place a menu item inside a login view,but the problem is that it is making its position to the down of its beside items by some pixels.So how can i fix this ?

Thanks in advance.

XML
<asp:LoginView ID="LoginView2" runat="server">
  <asp:RoleGroup Roles="Members">
    <a href="~/Members/CustomersList.aspx" id="A44"  runat="server">
      <img id="Img4"  runat="server" alt="Profle" width="160" height="59" border="0" src="/images/profile.jpg" onmouseover="this.src='/images/profile_hover.jpg'"  önmouseout="this.src='/images/profile.jpg'" />
      <asp:RoleGroup Roles="Anonymous">
      <a href="~/Login.aspx" id="A15"  runat="server">
      <img id="Img4"  runat="server" alt="Login" width="160" height="59" border="0" src="/images/Login.jpg" onmouseover="this.src='/images/Login-hover.jpg'"  önmouseout="this.src='/images/Login.jpg'" />
Posted
Updated 16-Aug-11 18:58pm
v3
Comments
Keith Barrow 16-Aug-11 15:20pm    
Please post the relevant asp markup and and css. Without this it is impossible to tell what is going on. The question as it stands is the IT equivalent of "Do I suit this color shirt?": without seeing what is happening, it is impossible to know.
mhamad zarif 16-Aug-11 16:30pm    
this is my markup that is adding the item :

<asp:LoginView ID="LoginView2" runat="server">
<rolegroups>
<asp:RoleGroup Roles="Members">
<contenttemplate>
<a href="~/Members/CustomersList.aspx" id="A44" runat="server">
<img id="Img4" runat="server" alt="Profle" width="160" height="59" border="0" src="/images/profile.jpg"
onmouseover="this.src='/images/profile_hover.jpg'" önmouseout="this.src='/images/profile.jpg'" />


<asp:RoleGroup Roles="Anonymous">
<contenttemplate>
<a href="~/Login.aspx" id="A15" runat="server">
<img id="Img4" runat="server" alt="Login" width="160" height="59" border="0" src="/images/Login.jpg"
onmouseover="this.src='/images/Login-hover.jpg'" önmouseout="this.src='/images/Login.jpg'" />




This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900