javascript - Keep nav bar item at fixed width when opening a drop down menu -


this quite trivial, can't find specific references problem online. have fieldset menu drops down horizontal navbar, navbar item takes same width menu panel.

drop down menu

here code menu:

<div id="timein" onmouseover="showform();" onmouseout="javascript: hideform(event);">    <a href="login" class="signin"><span>time in</span></a>    <fieldset id="timein_menu">      <p>        <label>current time</label>        <script>          document.write(new date().tolocaletimestring());        </script>      </p>      <p>        <label for="datetimepicker">time in work</label>        <input type="text" id="datetimepicker" />      </p>      <p>        <input id="signin_submit" value="submit" type="submit" />      </p>    </fieldset>  </div>

the datetimepicker using can found here.

edit: trivial thought, needed add in line css.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -