vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problem of alignement (https://vborg.vbsupport.ru/showthread.php?t=84844)

Yodo 10-03-2002 07:26 AM

Problem of alignement
 
1 Attachment(s)
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&eacute;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.

Tony G 10-03-2002 09:06 AM

Try valign="center"

Yodo 10-03-2002 11:25 AM

I try it but it gives the same result, thanks for your answer.

Tony G 10-03-2002 01:00 PM

I'm bummed then, is there any background to your image on the navbar?

Yodo 10-03-2002 01:35 PM

Why the navbar? [huh] , sorry but i don't understand your question :p.

Tony G 10-03-2002 01:58 PM

Sorry, attachment or whatever the template screenshotted is. Sorry.

Yodo 10-04-2002 07:06 PM

I don't understand what you say but I find, it's good, I put a table just before <smallfont>

++


All times are GMT. The time now is 11:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00965 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete