Witam,
jak wyrównać elementy formy input text i submit w poziomie tak, aby dobrze się wyświetlało w IE również bez trybu zgodności widoku?

Oto kod:
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <link rel="stylesheet" type="text/css" href="style.css" />
  5. </head>
  6. <div class="form-wrap">
  7. <form>
  8. <input type="text" name="tekst" />
  9. <input type="submit" value=""/>
  10. </form>
  11. </div>
  12. </body>
  13. </html>

  1. .form-wrap form{
  2. height: 24px;
  3. }
  4. .form-wrap input{
  5. margin: 0;
  6. padding: 0;
  7. }
  8. .form-wrap input[type=text]{
  9. height: 22px;
  10. border: 1px solid #F00;
  11. line-height: 22px;
  12. }
  13. .form-wrap input[type=submit]{
  14. height: 24px;
  15. width: 65px;
  16. border: 0px none;
  17. background: transparent url(ok.png) no-repeat 0 50%;
  18. line-height: 24px;
  19. }