All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

variation in buttons display in firefox and IE

  • # October 25, 2008 at 4:47 am

    I want to display same button size in firefox and IE.but its applying to buttons in all pages.i dont want that.As per the button name(as per the number of characters in the button’s name),its size has to be adjusted and all buttons in all pages should look same in IE and Firefox.
    What i need to change in CSS.

    I am using following css code for button

    font-size : 1.2em ;
    background : #ffffff ;
    color : #000000 ;
    font-weight : bold ;
    border-top : .2em solid #cccccc ;
    border-left : .2em solid #cccccc ;
    border-bottom : .2em solid #000000 ;
    border-right : .2em solid #000000 ;
    margin : .1em ;
    # October 28, 2008 at 6:26 pm

    Its very hard to get a input button the exact same layout in every browser, so if i were you i wouldn’t mind the little changes between browsers. If you really want the exact same button you could try and use images for buttons.

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed