Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > CSS
CSS Forum d'entraide sur l'utilisation des feuilles de style CSS. Avant de poster : Cours CSS, FAQ CSS, Galerie CSS
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 17/06/2011, 01h53   #1
Invité régulier
 
Inscription : juillet 2006
Messages : 28
Détails du profil
Informations forums :
Inscription : juillet 2006
Messages : 28
Points : 8
Points : 8
Par défaut form et retour a la ligne

bonjour,
j'essaye d'integrer un form dans un div:
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<div id="footer" class="noprint" style="display:inline-block">
        <a href="<?= lu(55) ?>"><?= ls('nav_footer101')?></a>
        <a href="<?= lu(46) ?>"><?= ls('nav_footer102')?></a>
        <a href="<?= lu(60) ?>"><?= ls('nav_footer103')?></a>
        <a href="<?= lu(44) ?>"><?= ls('nav_footer104')?></a>
        <a href="<?= lu(36) ?>"><?= ls('nav_footer105')?></a>
        <a href="<?= lu(98) ?>"><?= ls('nav_footer106')?></a>
        <a href="<?= lu(108) ?>"><?= ls('nav_footer108')?></a>
        <br /><br />
		<span style="clear:both">&copy; <? echo date("Y"); ?> MyCompany </span>
        <a style="color:#dc8218;text-decoration:none;"><?php $sess->getPhoneNumber(); ?></a>
		<a href="#" onclick="loadpopup2()" style="color:#dc8218;text-decoration:none;">Click here to chat with our specialists</a> 
		<form imethod="post" action="<?php ls('nav_footer110') ?>" style="color:#dc8218;text-decoration:none;margin: 0; padding:0;" >
			<span style="clear:both; color:#dc8218;">Stay informed</span><input name="email_address" size="15" /><input type="submit" value="Subscribe" />
		</form>
</div>
Mais mon form ne veut pas rester sur cette ligne et va toujours a la ligne.

Une idee du comment faire ?
Spami est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/06/2011, 09h36   #2
Membre éclairé
 
Avatar de Ceddoc
 
Homme Cédric
Développeur Java / Web / .NET
Inscription : janvier 2009
Messages : 327
Détails du profil
Informations personnelles :
Nom : Homme Cédric
Âge : 23
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Développeur Java / Web / .NET
Secteur : High Tech - Multimédia et Internet

Informations forums :
Inscription : janvier 2009
Messages : 327
Points : 369
Points : 369
Alors déjà, merci de respecter les règles en ne mettant que le code interprêté et non pas celui avec le php.

Ensuite, la solution bête et méchante que je fois c'est d'englober tes liens dans le <form>

Code :
1
2
3
4
5
6
7
8
 
<form imethod="post" action="<?php ls('nav_footer110') ?>" style="color:#dc8218;text-decoration:none;margin: 0; padding:0;" >
	<span style="clear:both">&copy; <? echo date("Y"); ?> MyCompany </span>
        <a style="color:#dc8218;text-decoration:none;"><?php $sess->getPhoneNumber(); ?></a>
		<a href="#" onclick="loadpopup2()" style="color:#dc8218;text-decoration:none;">Click here to chat with our specialists</a> 
 
			<span style="clear:both; color:#dc8218;">Stay informed</span><input name="email_address" size="15" /><input type="submit" value="Subscribe" />
		</form>
Ceddoc est déconnecté   Envoyer un message privé Réponse avec citation 10
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 19h23.


 
 
 
 
Partenaires

Hébergement Web