Forum-webmaster
Technique - programmation => HTML / CSS / XHTML => Message commencé par: VeX0^ le le 28-03-2005 a 16:20:08

Titre: Coller en bas
Posté par: VeX0^ le le 28-03-2005 a 16:20:08

Salut a tous :)

Je voudrais que ma page soit collé au bord du bas :)

j'ai reussi a la collé sur le bord du haut en faisant :

<body topMargin=0 color="#ffffff"> mais pour le bas je fais comment ?

Merci de votre aide :)

Titre: Re:Coller en bas
Posté par: kaboum le le 28-03-2005 a 21:19:48

je te conseille d'utiliser le css pour ce qui concerne l'allure générale de la page (refere ton aux tutoriaux de http://www.allhtml.com, c'est tres simple ) :

margin-bottom:   0px ;

ou je penses que bottomMargin="0" fonctionne, mais je suis sur de rien la-dessus !

Titre: Re:Coller en bas
Posté par: NuDD le le 28-03-2005 a 21:35:36

il existe également: http://www.alsacreations.com/articles/ .
Qui est tres bien fait et que l'on ne présente plus...
Bonne chance ds le monde impitoyable de la programmation internet... ;)

Titre: Re:Coller en bas
Posté par: VeX0^ le le 01-04-2005 a 15:18:52

merci kaboum bottomMargin="0" marche tres bien mais seulement sous internet explorer :( !

le collage en haut marche pas aussi sous firefox :( !!!!!

Comment faire ?

voici ma source :


Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Document sans nom</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.Style1 {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 10px;
}
.Style2 {color: #990000}
body {
   background-image: url();
}
-->
</style></head>

<body topmargin="0" leftmargin="0" bottommargin="0" rightmargin="0">
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="352" class="Style1"><table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><img src="image/logo.gif" width="775" height="57"></td>
</tr>
<tr>
<td width="292" height="76" align="center" valign="top" background="image/logo1.gif" class="Style1"><br>
<br>
<br>
<br>
Le Meilleur des kits graphiques ... <br>
Des creations de site webs complets a petit prix ! </td>
<td width="483" align="center" valign="top" background="image/logo2.gif" class="Style1"> <form name="form1" method="post" action="">
<strong>- Newsletter - Inscription -D&eacute;</strong><strong>s inscription - </strong> <br>
<br>
<input name="radiobutton" type="radio" value="radiobutton" checked>
Inscription |
<input type="radio" name="radiobutton" value="radiobutton">
D&eacute;s inscription
<input name="textfield" type="text" size="25">
<input name="Submit" type="submit" class="Style1" value="Envoyer">
</form> </td>
</tr>
</table>
<table width="775" border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#e4e4e4">
<td colspan="3">&nbsp;</td>
</tr>
<tr bgcolor="#e4e4e4">
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td width="149" valign="top" bgcolor="#e4e4e4" class="Style1"><table width="149" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="32" background="file:///P|/Mes documents/Pierre/kit-graph.com/test-kit/menu1.gif">&nbsp;</td>
</tr>
<tr>
<td height="46" align="center" valign="top" background="file:///P|/Mes documents/Pierre/kit-graph.com/test-kit/menu5.gif" class="Style1">:: Lien </td>
</tr>
<tr>
<td height="24" background="file:///P|/Mes documents/Pierre/kit-graph.com/test-kit/menu4.gif">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td height="32" background="file:///P|/Mes documents/Pierre/kit-graph.com/test-kit/menu1.gif">&nbsp;</td>
</tr>
<tr>
<td height="46" align="center" valign="top" background="file:///P|/Mes documents/Pierre/kit-graph.com/test-kit/menu5.gif" class="Style1">:: Lien </td>
</tr>
<tr>
<td height="24" background="file:///P|/Mes documents/Pierre/kit-graph.com/test-kit/menu4.gif">&nbsp;</td>
</tr>
<tr>
<td valign="top">&nbsp;</td>
</tr>
</table> <br>
<br>
<br>
<br>
<br></td><td width="50" bgcolor="#e4e4e4"></td>
<td width="576" valign="top" bgcolor="#e4e4e4" class="Style1"><table width="576" border="0" cellspacing="0" cellpadding="2">
<tr>
<td height="29" background="test-kit/text1.gif" class="Style1"><strong>Les Kits Graphiques </strong></td>
</tr>
<tr>
<td background="test-kit/text2.gif"><p>Voici les kits graphiques que propose <strong><span class="Style2">K</span>it-<span class="Style2">G</span>raph.<span class="Style2">C</span>om</strong> :<br>
<br>
En cours de construction encore ... </p>
<p><strong> </strong></p></td>
</tr>
<tr>
<td height="27" background="test-kit/text3.gif"></td>
</tr>
<tr>
<td height="11"></td>
</tr>
<tr>
<td height="29" background="test-kit/text1.gif" class="Style1"><strong>Les Kits Graphiques </strong></td>
</tr>
<tr>
<td background="test-kit/text2.gif"><p>Voici les kits graphiques que propose <strong><span class="Style2">K</span>it-<span class="Style2">G</span>raph.<span class="Style2">C</span>om</strong> :<br>
<br>
En cours de construction encore ... </p>
<p><strong> </strong></p></td>
</tr>
<tr>
<td height="27" background="test-kit/text3.gif"></td>
</tr>
<tr>
<td height="27"><p> <br>
</p> </td>
</tr>
</table>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br></td>
</tr>
<tr>
<td colspan="3">
<table width="775" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="29" align="center" valign="middle" background="image/copyright.gif"> 2004 / 2005 &copy; - Kit-Graph - Tout droits r&eacute;serv&eacute;s - </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>


voila :)

Titre: Re:Coller en bas
Posté par: lupucide le le 01-04-2005 a 18:21:54

http://pompage.net/pompe/pieds/


Forum-webmaster | Actionné par YaBB SE
© 2001-2003, YaBB SE Dev Team. Tous droits réservés.