vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Custom Notices - How to insert a picture (https://vborg.vbsupport.ru/showthread.php?t=245568)

EnderNolan 06-30-2010 07:33 AM

Custom Notices - How to insert a picture
 
1 Attachment(s)
Hello Everyone, I was wondering if someone could help me figure out how to put an image into a notice with out the text wrapping around the image.

An example of what I mean is attached.

AliceHoward 06-30-2010 07:53 AM

Something like this should fit the bill:
Code:

<img src="{vb:stylevar imgdir_misc}/yourimage.pngf" alt="" style="float:right" />
You may need to use a div for the style float part, depends on what you're doing.

EnderNolan 06-30-2010 08:13 AM

Okay, I'm getting somewhere now, however the image won't center with the text now and the background only goes the height of the text, and the image sticks out.

Here is my code:
Code:

<center><img src="http://taskforce16.com/halo/radiation.png" width="100" height="100" alt="" style="float:left" />
<p><font size=4><b>Welcome to the Home of Task Force Sixteen!</b></font></p><p> If this is your first visit, be sure to check out the <a href="faq.php?{sessionurl}" target="_blank"><b>FAQ</b></a> by clicking the link above. You may have to <a href="register.php?{sessionurl}" target="_blank"><b>register</b></a> before you can post: click the register link above to proceed.</p></font>
</center>

Here is the link to my site and you can see how the welcome notice is appearing.
www.taskforce16.com

--------------- Added [DATE]1277890144[/DATE] at [TIME]1277890144[/TIME] ---------------

This is how I'd like it to be displayed, but with out the lines from the table. (See 2nd Notice on the webpage. www.taskforce16.com)

Here is the code for the 2nd one:

Code:

<center><TABLE>
<TR>
<TD><img src="http://taskforce16.com/halo/radiation.png" width="100" height="100" align=middle></TD>
<TD><p><font size=4><b>Welcome to the Home of Task Force Sixteen!</b></font></p><p> If this is your first visit, be sure to check out the <a href="faq.php?{sessionurl}" target="_blank"><b>FAQ</b></a> by clicking the link above. You may have to <a href="register.php?{sessionurl}" target="_blank"><b>register</b></a> before you can post: click the register link above to proceed.</p></font></td>
</TR>
</TABLE></center>



All times are GMT. The time now is 04:48 AM.

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.01026 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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