html - Need menuitem on the right -


i want logout link shown @ extreme right when other menuitems hidden.

in fact showing in middle .

how can force in right.

<div class="nav-content container">              <div class="nav-wrapper">                        <ul class="main-nav">                      <asp:placeholder runat="server" id="hidenav">                      <li runat="server" id="home" visible="false" class="hide"><asp:hyperlink id="homelink" runat="server"></asp:hyperlink></li>                      <li runat="server" id="reportclaim" visible="false" class="hide"><asp:hyperlink runat="server" navigateurl="/reportclaim.aspx" text="<span>report claim</span>" id="reportclaimlink"></asp:hyperlink></li>                      <li  id="lnklogout1" runat="server" style=" "><asp:hyperlink runat="server"  navigateurl="~/logout.aspx" text="<span>log out</span>"></asp:hyperlink></li>                      </asp:placeholder>                  </ul>              </div>

i tried

.pull-right {    float: right !important;  } 

but not working

enter image description here

plesase use following code:

<div class="nav-content container" >         <div class="nav-wrapper" >                   <ul class="main-nav" >                 <asp:placeholder runat="server" id="hidenav">                  <li runat="server" id="home" visible="true" class="hide"  ><asp:hyperlink id="homelink" runat="server" text="<span> claim</span>"></asp:hyperlink></li>                 <li runat="server" id="reportclaim" visible="true" class="hide"><asp:hyperlink runat="server" navigateurl="/reportclaim.aspx" text="<span>report claim</span>" id="reportclaimlink"></asp:hyperlink></li>                  </asp:placeholder>             </ul>         </div>        <div align="right" style="vertical-align:top">             <asp:hyperlink id="hyperlink1" runat="server"  navigateurl="~/logout.aspx" text="<span>log out</span>"></asp:hyperlink>   </div> 

here need create link button in div tag , set align div right have removed ul & li tag logout div , don't think required.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -