Advanced Search

Results 1 to 2 of 2

Thread: Input Button Background with i18n problem

  1. #1
    Join Date
    Nov 2008
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Input Button Background with i18n problem

    Hi,

    I am using rounded corner button. The following codes are working fine, but I want to use only one (input type button) with CSS and bg image only.

    Already we know one bg image with input button will works fine. But when I change the language (i18n - Multi Language) it will show very odd.

    NOTE: Same time I want to use this button with background image and i18n.

    From this example I have to use two images and button tag with DIV.
    If any chance to use single input button with solved the i18ned problem?

    <html>
    <style>
    .leftSingle1 {
    background:transparent url(SingleLeft1.gif) no-repeat right scroll 0;
    height: 28px;
    border:0px;
    padding:0px;
    white-space:nowrap;
    margin:0px;
    }
    .buttonSingle1 {
    background:transparent url(ButtonMain.gif) no-repeat scroll 0;
    background-position: -5px -6px;
    height: 27px;
    border:0px;
    color: #ffffff;
    padding:0px;
    padding-left:7px;
    padding-top:2px;
    float:left;
    _margin-top:1px;
    }

    </style>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    </head>

    <body>
    <button type="submit" class="leftSingle1"><div class="buttonSingle1">Tedddd ddd dd test</div></button>

    </body>
    </html>


    Thanks
    Elumalai J.

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

    Default

    Do you have a link to your site? If not, maybe you could attach the entire html and css files with the necessary pictures.
    Eddy Proca
    I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!

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
  •