vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   fixed logo width (https://vborg.vbsupport.ru/showthread.php?t=260296)

gbox master 03-13-2011 10:56 AM

fixed logo width
 
i need the logo of my forum to be fixed in the width of the forum

the problem is that on differant resolutions the logo stays to wide
that deforms the forum

please advise on how to adjust this
or where to look for a solution

BirdOPrey5 03-13-2011 09:38 PM

If your <img> tag has absolute height and widths it should remain the same size regardless of width.

Example:
Code:

<img src="logo.gif" width="200" height="100" border="0" alt="Logo" />

gbox master 03-14-2011 07:13 PM

thnx for the reply
this one go's into the header of the template ?

BirdOPrey5 03-14-2011 07:37 PM

You should already have an <img> tag in your header template, the only that shows the logo graphic. Just check what the width/height attributes are, like I said they should be absolute numbers.

gbox master 03-14-2011 07:50 PM

thnx m8
you gave me the idea to fx it in another way
the problem is that when the resolution is changed the logo does not look good anymore
the forum size and logo is distorted

i have deleted it now in the header
and i placed it in the navbar ;) so now what ever they do with the forum size the logo shrinks and moves with the size of the forum

hard to understand yes i dont :p

here is the example
http://www.cccamforum.info
i just moved the forum to a new server and with a new url


All times are GMT. The time now is 06:40 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.01453 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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