jquery ui datepicker - Margin-left css not working -


i using jquery date picker,i added date picker jsp page,and want move left,but doesn't work..
in jsp page have

<div id="datepicker" class="datepicker">         <script>         $("#datepicker").datepicker();         </script>         </div> 

and in css file have

.datepicker{          margin-top:20px;         margin-left:600px;         position: fixed;  } 

but element on top left corner..does have solution this?i used margin-top , margin-left when wanted position element,and worked..thanks in advance!

i'm having trouble getting datepicker function run on codepen, css formatting part working fine: https://codepen.io/anon/pen/owdxkl

<style>   .datepicker{         margin-top:20px;         margin-left:600px;         position: fixed; }; </style>  <div id="datepicker" class="datepicker">this div 600 px left; 20 px top</div>  <script>   $( "#datepicker" ).datepicker(); </script> 

my guess there somewhere else in stylesheet overriding margins defined in snip provided.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -