vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to place a picture next to my logo (https://vborg.vbsupport.ru/showthread.php?t=112650)

mattyk72 04-10-2006 02:07 PM

how to place a picture next to my logo
 
I'm trying to place a small picture to the left of my main logo, I'm trying to edit the header template but the picture shows up all wrong, it shows up way at the top of the screen to the left and pushes the rest of the page down. Any idea of what I could be doing wrong?

My home page

peterska2 04-11-2006 09:14 AM

Can you post a copy of your header template please?

Ensure that you wrap it in [.code][/.code] tags (without the '.') then unlicenced users can't see it.

mattyk72 04-11-2006 02:38 PM

Code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
  id="AlbanyAnim" width="159" height="164">
  <param name="movie" value="AlbanyAnim.swf">
  <param name="quality" value="high">
  <param name="bgcolor" value="#FFFFFF">
    <embed name="AlbanyAnim" src="AlbanyAnim.swf"
    quality="high" bgcolor="#FFFFFF" swLiveConnect="true"
    width="159" height="164"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]">
<center>
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
        <td align="$stylevar[right]">
                &nbsp;
        </td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


peterska2 04-11-2006 09:50 PM

Here you go. It just needed a little bit of tidying up round your logo. I've added the place for your new image. Just replace the text ADD NEW IMAGE HERE with the html code for your required image.

Code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
  id="AlbanyAnim" width="159" height="164">
  <param name="movie" value="AlbanyAnim.swf">
  <param name="quality" value="high">
  <param name="bgcolor" value="#FFFFFF">
    <embed name="AlbanyAnim" src="AlbanyAnim.swf"
    quality="high" bgcolor="#FFFFFF" swLiveConnect="true"
    width="159" height="164"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
    <td align="$stylevar[left]">
ADD NEW IMAGE HERE
</td>
<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]">
<center>
<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    <td align="$stylevar[right]">
        &nbsp;
    </td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


mattyk72 04-11-2006 11:05 PM

thanks!

peterska2 04-11-2006 11:08 PM

no problem. let me know if you need any more help.

mattyk72 04-19-2006 11:36 AM

Quote:

Originally Posted by peterska2
no problem. let me know if you need any more help.

Looks like I need to take you up on that offer. :)

I can't get things to line up correctly, when I insert my flash image on the right, it pushes my main logo over to the left. I've tried changing the align tags but it doesn't seem to help much. Any suggestions?

Home page

thanks

peterska2 04-19-2006 08:33 PM

I've sent you a PM


All times are GMT. The time now is 08:26 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.01017 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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