PDA

View Full Version : fixed logo width


gbox master
03-13-2011, 10:56 AM
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:

<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