vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   I need this text to wrap.... (https://vborg.vbsupport.ru/showthread.php?t=85375)

LiL pImPsTeR 11-19-2002 08:55 AM

I need this text to wrap....
 
1 Attachment(s)
in the included screenshot id liek teh text to wrap around the avatar, as it is now, it starts at the bottom of the avatar, i want it to begin at the top, and just keep wrapping around the avatar.....i hope my screenshots arent too ugly, but this is what im trying to do and its hard to show you....

LiL pImPsTeR 11-19-2002 08:56 AM

1 Attachment(s)
heres where i want the text to b, if u cant understand my directions, hopefully thisll help

Tony G 11-19-2002 10:00 AM

Hmm, can you align the text to the top or not?

LiL pImPsTeR 11-19-2002 07:42 PM

Quote:

Originally posted by Tony
Hmm, can you align the text to the top or not?
i kant get that to work either, unless im usign the wrong code for it, wut code do u suggest, heres the code im using right there.....
heres a snipplet of the code i have there...
Code:

<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top">
$post[avatar]<normalfont>$post[message]</normalfont>
</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" height="20"> $post[attachment]</td>
</tr>


Tony G 11-20-2002 03:13 AM

The thing is you use the same <td> tag for the avatar and post message. That might be why. Try adding align="top" in that <td> tag and see what happens. :)

LiL pImPsTeR 11-20-2002 05:30 AM

yah that didint work, i tried using different <td> tags, and it looks a little better, but when a thread isnt long, the distance between the avatar and the begining of the text is a few inches, heres a screen shot in my next post.

LiL pImPsTeR 11-20-2002 05:35 AM

1 Attachment(s)
Here it is, i changed the code a little, its messy looking cuz i havent made it pretty to b psoted yet, but here is the code snipplet im using, and the screenshot....

Code:

<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" align="left" valign="top">
$post[avatar]</td><td bgcolor="$post[backcolor]" align="left" valign="top"><normalfont>$post[message]</normalfont>
</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" height="20"> $post[attachment]</td>
</tr>


Tony G 11-20-2002 06:15 AM

I think it's centered, but doesn't show in your code.

NoPrints113 11-20-2002 06:59 AM

im having the same problem exept not in the postbit..... i have no idea if this code will work in the postbit it DID NOT work for me on my main page but u can goahead and give it a try.......

Quote:

Anime-loo:
<td bgcolor="#FFFFFF"><img src="$bburl/path/to/avatar.jpg" border="0" align="left" vspace="3"><smallfont>*text here*</smallfont><br>
</td>

LiL pImPsTeR 11-20-2002 09:30 AM

Quote:

Originally posted by Tony
I think it's centered, but doesn't show in your code.
yah its not centered anywhere in the postbit, i dunno wut the **** is up....ill think of sumthing....want me to send u the postbit tony and u have a look at it? ill give u credit for helping when i post it.....


All times are GMT. The time now is 03:22 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.02522 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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