Results 1 to 4 of 4

Thread: Is there a fix for the IE Stretched Button Bug?

  1. #1
    Join Date
    Apr 2008
    Location
    San Diego, CA
    Posts
    352
    Thanks
    57
    Thanked 6 Times in 6 Posts

    Default Is there a fix for the IE Stretched Button Bug?

    Last edited by jlizarraga; 11-24-2008 at 06:38 AM. Reason: resolved

  2. #2
    Join Date
    Apr 2008
    Location
    San Diego, CA
    Posts
    352
    Thanks
    57
    Thanked 6 Times in 6 Posts

    Default

    Doh, found it:

    overflow: visible

  3. #3
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You could make your own buttons with css.
    Edit:
    Quote Originally Posted by jlizarraga View Post
    Doh, found it
    That was quick

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm not aware of any 'one size fits all' fix for this. However, using conditional comments, one may apply a specific style or styles to a specific button in IE to compensate. IE allows for use of expressions, so the length of the button's value may be employed to aid in its styling in IE.

    In simplest terms, define the button's width and border as desired.

    But, I might add that all form elements are rendered a bit differently in the various browsers and operating systems, making them (more than most elements) something you generally should just let the browser/OS do as it pleases with. Also, button with a value (the visible text on the button) longer than 18 characters (the length required to manifest this bug in IE) is unusual, and should in most cases be able to be avoided.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •