par
Invité » 24 nov. 2008, 20:48
Bonjour,
Je suis en train de faire une série de div pour obtenir un rectangle aux coins arrondis mais je n'arrive pas à combler la dernière ligne, entre mes coins du bas,
en image :
le code :
Code : Tout sélectionner
<div style="width: 90%; padding: 0px 0px 0px 0px; margin-left: auto; margin-right: auto;">
<div style="width: 10px; height: 10px; background-image: url('images/corner3/bottomleft.gif'); float: left;"></div>
<div style="width: 10px; height: 10px; background-image: url('images/corner3/bottomright.gif'); float: right;"></div>
<div style="text-align: left; background-color: white; padding: 5px 5px 0px 5px;">
<a href="mailto:email"><img src="images/mail.png" alt="Email : email" title="Email : email" style="vertical-align: middle;" /></a>
<span style="font-weight: bold ;">LOREM IPSUM IS SIMPLY DUMMY TEXT OF THE PRINTING</span> - <font size="1">Pays</font>, <font size="1">Ville</font>
<img src="images/sida2.gif" alt="[SIDA]" title="[SIDA]" style="vertical-align: middle;" />
</div>
<div style="text-align: right; color: #CC3300; font-size: 70%; padding: 0px 5px 5px 0px; background-color: white;">Le 08 Octobre 2006 a 10h35</div>
<div style="padding: 10px 15px 15px 15px; text-align: justify; background-color: #FFCC99;">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>
<div style="width: 10px; height: 10px; background-image: url('images/corner3/topleft.gif'); float: left;"></div>
<div style="height: 10px; background-color: #FFCC99; float: left;"></div>
<div style="width: 10px; height: 10px; background-image: url('images/corner3/topright.gif'); float: right;"></div>
</div>
La dernière ligne (la manquante) se rempli bien que lorsqu'il y'a du texte mais il ne doit pas y en avoir.
Pouvez vous m'aider?
D'avance merci
Bonjour,
Je suis en train de faire une série de div pour obtenir un rectangle aux coins arrondis mais je n'arrive pas à combler la dernière ligne, entre mes coins du bas,
en image :
[url=http://img147.imageshack.us/my.php?image=imgwp1.gif][img]http://img147.imageshack.us/img147/3858/imgwp1.th.gif[/img][/url]
le code :
[code]<div style="width: 90%; padding: 0px 0px 0px 0px; margin-left: auto; margin-right: auto;">
<div style="width: 10px; height: 10px; background-image: url('images/corner3/bottomleft.gif'); float: left;"></div>
<div style="width: 10px; height: 10px; background-image: url('images/corner3/bottomright.gif'); float: right;"></div>
<div style="text-align: left; background-color: white; padding: 5px 5px 0px 5px;">
<a href="mailto:email"><img src="images/mail.png" alt="Email : email" title="Email : email" style="vertical-align: middle;" /></a>
<span style="font-weight: bold ;">LOREM IPSUM IS SIMPLY DUMMY TEXT OF THE PRINTING</span> - <font size="1">Pays</font>, <font size="1">Ville</font>
<img src="images/sida2.gif" alt="[SIDA]" title="[SIDA]" style="vertical-align: middle;" />
</div>
<div style="text-align: right; color: #CC3300; font-size: 70%; padding: 0px 5px 5px 0px; background-color: white;">Le 08 Octobre 2006 a 10h35</div>
<div style="padding: 10px 15px 15px 15px; text-align: justify; background-color: #FFCC99;">
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</div>
<div style="width: 10px; height: 10px; background-image: url('images/corner3/topleft.gif'); float: left;"></div>
<div style="height: 10px; background-color: #FFCC99; float: left;"></div>
<div style="width: 10px; height: 10px; background-image: url('images/corner3/topright.gif'); float: right;"></div>
</div>
[/code]
La dernière ligne (la manquante) se rempli bien que lorsqu'il y'a du texte mais il ne doit pas y en avoir.
Pouvez vous m'aider?
D'avance merci