Input Button Background with i18n problem

Reply

Join Date: Apr 2008
Posts: 2
Reputation: jelumalai is an unknown quantity at this point 
Solved Threads: 0
jelumalai jelumalai is offline Offline
Newbie Poster

Input Button Background with i18n problem

 
0
  #1
Nov 17th, 2008
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 and CSS Syntax (Toggle Plain Text)
  1. <html>
  2. <style>
  3. .leftSingle1 {
  4. background:transparent url(SingleLeft1.gif) no-repeat right scroll 0;
  5. height: 28px;
  6. border:0px;
  7. padding:0px;
  8. white-space:nowrap;
  9. margin:0px;
  10. }
  11. .buttonSingle1 {
  12. background:transparent url(ButtonMain.gif) no-repeat scroll 0;
  13. background-position: -5px -6px;
  14. height: 27px;
  15. border:0px;
  16. color: #ffffff;
  17. padding:0px;
  18. padding-left:7px;
  19. padding-top:2px;
  20. float:left;
  21. _margin-top:1px;
  22. }
  23.  
  24. </style>
  25. <head>
  26. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  27. <title>Untitled Document</title>
  28. </head>
  29.  
  30. <body>
  31. <button type="submit" class="leftSingle1"><div class="buttonSingle1">Tedddd ddd dd test</div></button>
  32.  
  33. </body>
  34. </html>

Thanks
Elumalai J.
Last edited by peter_budo; Nov 19th, 2008 at 8:31 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Attached Thumbnails
ButtonMain.gif  
Attached Images
  
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC