Yodo
10-03-2002, 07:26 AM
Hello all (sorry i'm french, so if you don't understand all, it's normal :D )
So, here is the code for the attachement (the picture) :
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/postbit/basgm.gif" width="175" height="32" border="0" nowrap></td>
<td background="images/postbit/bm.gif" width="100%" valign="middle" align="center" height="32">
<smallfont><a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="images/edit.gif" border="0" alt="Editer/Effacer le Message"></a><a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="images/quote.gif" border="0" alt="Citer le message dans la réponse"></a><a href="****script: window.open('postings.php?s=$session[sessionhash]&action=nuke&postid=$post[postid]'); void('');"><img src="images/nuked1.gif" alt="Censurer le post (option administrateur et mod?rateur !!)" border="0"></a></smallfont>
</td>
<td><img src="images/postbit/basdm.gif" width="175" height="32" border="0" nowrap></td>
</tr>
</table>
On the picture, the three buttons (they are the same : don't care of this :p ) are not aligned in the middle. There is one pixel between the button and the white bar. When I put valign="top", the buttons go on top but when I put valign="bottom", there are 3 of 4 pixels between the thin gray line (at the bottom) and the bottom of the buttons.
I don't understand why, my buttoms have for dimensions : 64x12.
If I make buttons with 64 x 32 (32 is the height of my background as you can see in the code), that makes a bug. Or I see in your postbit that don't make a bug.
If you need more info, or if i have to be clearer, no problems :rolleyes:
Thanks for any help.
So, here is the code for the attachement (the picture) :
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/postbit/basgm.gif" width="175" height="32" border="0" nowrap></td>
<td background="images/postbit/bm.gif" width="100%" valign="middle" align="center" height="32">
<smallfont><a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="images/edit.gif" border="0" alt="Editer/Effacer le Message"></a><a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="images/quote.gif" border="0" alt="Citer le message dans la réponse"></a><a href="****script: window.open('postings.php?s=$session[sessionhash]&action=nuke&postid=$post[postid]'); void('');"><img src="images/nuked1.gif" alt="Censurer le post (option administrateur et mod?rateur !!)" border="0"></a></smallfont>
</td>
<td><img src="images/postbit/basdm.gif" width="175" height="32" border="0" nowrap></td>
</tr>
</table>
On the picture, the three buttons (they are the same : don't care of this :p ) are not aligned in the middle. There is one pixel between the button and the white bar. When I put valign="top", the buttons go on top but when I put valign="bottom", there are 3 of 4 pixels between the thin gray line (at the bottom) and the bottom of the buttons.
I don't understand why, my buttoms have for dimensions : 64x12.
If I make buttons with 64 x 32 (32 is the height of my background as you can see in the code), that makes a bug. Or I see in your postbit that don't make a bug.
If you need more info, or if i have to be clearer, no problems :rolleyes:
Thanks for any help.