Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 10-03-2002, 07:26 AM
Yodo Yodo is offline
 
Join Date: Aug 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Problem of alignement

Hello all (sorry i'm french, so if you don't understand all, it's normal )

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 ) 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

Thanks for any help.
Attached Images
File Type: jpg hum.jpg (15.8 KB, 0 views)
Reply With Quote
  #2  
Old 10-03-2002, 09:06 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try valign="center"
Reply With Quote
  #3  
Old 10-03-2002, 11:25 AM
Yodo Yodo is offline
 
Join Date: Aug 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I try it but it gives the same result, thanks for your answer.
Reply With Quote
  #4  
Old 10-03-2002, 01:00 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm bummed then, is there any background to your image on the navbar?
Reply With Quote
  #5  
Old 10-03-2002, 01:35 PM
Yodo Yodo is offline
 
Join Date: Aug 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why the navbar? [huh] , sorry but i don't understand your question .
Reply With Quote
  #6  
Old 10-03-2002, 01:58 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, attachment or whatever the template screenshotted is. Sorry.
Reply With Quote
  #7  
Old 10-04-2002, 07:06 PM
Yodo Yodo is offline
 
Join Date: Aug 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

++
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:55 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04075 seconds
  • Memory Usage 2,230KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete