Not sure if my responses get through, basically it's a problem relating 
to the floating of the calendar button. Search for 'clearfix' on google 
and attach that classname to a containing div.*

Posted:* Thu Dec 7 11:13:55 EST 2006
*From:* Kelvin Luck <kelvin at kelvinluck.com 
<mailto:discuss%40jquery.com?Subject=%5BjQuery%5D%20datePicker%20changes%20layout&In-Reply-To=45781EE8.8000207%40mikeholloway.co.uk>>

 > When I apply the datepicker to an input, it alters the layout of the
 > items in the form.
 > http://www.texotela.co.uk/datepickerbug.php
 > How can I prevent this from happening?
 >

It looks like the elements that the date picker adds so that there is
somewhere for the pop up calendar to appear are disturbing the layout of
your form. For now all I can suggest is playing with the CSS to get the
result you are after. You can look at the styles I use for the inputs on
the demo page as there is no shuffling there...

In the longer term I'll look into changing the way the date picker is
attached so that it can be absolutely positioned in the right place
rather than inserting markup around the relevant inputs. I'm guessing I
can probably borrow some code from the tool tip plugins or dimensions.js
to help with this?

Cheers,

Kelvin :)


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to