| Page 1 of 1 | [ 2 posts ] |
|
Hi, I am trying to set the min-width of the button. Using the min-width CSS, it works on Chrome, but not IE.
For some reason, in IE, the span is not calculating the min-width correctly: This is the HTML generated by the YUI button: <span class="yui-button yui-checkbox-button" id="checkbutton5"> <span class="first-child"> <button name="checkboxfield2" type="button">One</button> </span> </span> This is the styles I have added: .yui-button .first-child { min-width: 100px; text-align: center; } .yui-button button{ min-width: 100px; text-align: center; } The button is generated correctly with the min-width. However, the "first-child" span is not. It appends some width to the right. |
|
Please any help will be appreciated. Thanks
|
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group