Treehouse: Grow your CSS skills. Land your dream job.

input type=button rounded corners

  • # June 1, 2011 at 9:38 am

    Been googling and searching for a good way to do rounded corners on buttons, haven’t been really able to find anything that would work with IE7 and require no JavaScript…

    Anyone have good examples?

    # June 1, 2011 at 10:15 am

    Nope, there aren’t really any good ways. Check this out. In IE7, the rounded corners are achieved via .htc (or javascript) – but it sounds like you don’t want it done via an external file. Unfortunately you won’t be able to use sprites and divs either (The rock solid method in that article) because input type=”button” can’t contain markup within it. The only way to ’round’ it in IE7 without an external file would be with an image.

    # June 1, 2011 at 10:48 am

    That’s too bad, I really had hopes for a way to get it working.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.