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:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <link rel="stylesheet" type="text/css" href="style.css" /> <input type="text" name="tekst" /> <input type="submit" value=""/>
.form-wrap form{
height: 24px;
}
.form-wrap input{
margin: 0;
padding: 0;
}
.form-wrap input[type=text]{
height: 22px;
border: 1px solid #F00;
line-height: 22px;
}
.form-wrap input[type=submit]{
height: 24px;
width: 65px;
border: 0px none;
background: transparent url(ok.png) no-repeat 0 50%;
line-height: 24px;
}