Yii Framework Forum: Timepicker button rendering - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Timepicker button rendering Rate Topic: -----

#1 User is offline   Au1 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 26-August 10

Posted 26 August 2010 - 06:53 AM

Hi!

I have just fixed some problem with extension timepicker.

Look, it renders as <input><button>. If input has own style with margin, but button hasn't, it will render bad in IE and Opera.

For example, default form.css in Yii have this:

div.form input { margin: 0.2em 0 0.5em 0;}


I added this code to /assests/.../css/smootheness/jquery-ui-1.7.2.custom.css:

.ui-datepicker-trigger {vertical-align: top; margin: 0.2em 0 0.5em 0;}


where vertical-align is not nessesary, but margin must be same as in input.

Hope it helps.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users