Saut de ligne à cause d'un input de type image dans un form
Bonjour, j'ai un soucis avec un saut de ligne intempéstif qui semblerait être dut à un input de type image contenu dans un form:
Code:
1 2 3 4 5 6 7 8 9
| <div id="menu_haut_monsite">
<form method="post" action="<?php echo $http_monsite; ?>realisation-d-une-poupee-photo.html">
<input type="hidden" name="texte_panier" value="<?php echo htmlentities($_SESSION['texte_panier']); ?>" />
<input type="image" src="<?php echo $http_monsite; ?>interface/menu09.jpg" alt="aaaaaaaaaaaaaaaa" />
</form>
<a href="<?php echo $http_cadeauxplaisir; ?>templates/pages/etape1_description.php?url=poupee-photo-style-peluche&boutique=monsite"><img src="<?php echo $http_monsite; ?>/interface/menu10.jpg" alt="bouille d'un pompier" /></a>
<a href="<?php echo $http_cadeauxplaisir; ?>templates/pages/index_home_contact.php?boutique=monsite"><img src="<?php echo $http_monsite; ?>interface/menu11.jpg" alt="bouille d'un pompier" /></a>
</div> |
et voici mon code concernant mon CSS:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
| #menu_haut_monsite form
{
padding: 0;
margin: 0;
display:inline;
}
#menu_haut_monsite
{
background-color: white;
width: 950px;
padding: 0px;
margin: 0px;
margin: auto;
}
#menu_haut_monsite img
{
float: left;
vertical-align: top;
border: none;
margin: 0px;
padding: 0px;
}
#menu_haut_monsite .menu_haut
{
background-image: url("/interface/menu03.jpg");
background-repeat: repeat-y;
width: 820px;
height: 26px;
text-align: right;
float: left;
padding-right: 130px;
padding-top: 10px;
}
#menu_haut_monsite .menu_haut a
{
font-family: arial, "Times New Roman", Times;
font-size: 11px;
color: black;
vertical-align: middle;
text-decoration: none;
font-weight: bold;
}
#menu_haut_monsite .banniere_haut
{
float: left;
vertical-align: top;
border: none;
margin: 0px;
padding: 0px;
}
#menu_haut_monsite .panier
{
vertical-align: top;
border: none;
margin: 0px;
padding: 0px;
}
#menu_haut_monsite .menu_haut :hover
{
color: red;
} |