Need Help With Logo. Can't get it centered.

Discussion in 'HTML & Website Design' started by BannanoPeel, Nov 17, 2009.

  1. #1
    So I was getting a lot of complaints about my logo being to big, so I redid it and made it into 3 parts. For some reason I can't get the middle image. (the actual "SpazGamz" part). to be center with the page. Here is what I have:

    
    <img src="$stylevar[imgdir_misc]/logo-left.png" width="" height="122 px" alt="" style="float:left" />
    
    
    <img src="$stylevar[imgdir_misc]/logo-right.png" width="" height="122 px" alt="" style="float:right;" />
    
    
    <a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><center><img src="$stylevar[imgdir_misc]/logo.png" alt="$vboptions[bbtitle]" width="" height="122 px" border="0" align="middle" style="position:absolute; vertical-align:top;" ></center></a>
    HTML:
    I know that the center code is being depreciated, but I can't get anything to work. I am pretty sure it's because the left image is making the middle image not be centered. But I don't know. If anyone has any tips it would be appreciated, other than that please tell me what you think of the logo.
    Here is the site: SpazGamz,
     
    BannanoPeel, Nov 17, 2009 IP
  2. vinpkl

    vinpkl Active Member

    Messages:
    899
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #2
    hi

    why are using "float:right".

    i think this is the reason its moving to right side.

    try
    <img src="$stylevar[imgdir_misc]/logo-right.png" width="" height="122 px" alt="" style="float:left;" />

    also it would be much clear if you attach the actual header image in which we can see what actual placement of images you need in header.

    vineet
     
    vinpkl, Nov 17, 2009 IP
  3. lobriquida

    lobriquida Guest

    Messages:
    273
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can't even see the logo...
     
    lobriquida, Nov 17, 2009 IP
  4. Wrams

    Wrams Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You should create a container and place your image into it and then you just simply move the container to where you want it to be. If you don't contain your images theres a good chance that in IE 5 and 6 your images will end up outside of your website.
     
    Wrams, Nov 18, 2009 IP