Getting SOO Frustrated - Image in my header won't center.

Discussion in 'HTML & Website Design' started by Jbone, Aug 21, 2011.

  1. #1
    Hi people,

    Looking for some help on centering the image in my header on the follwoing site:

    http://www.footballreporters.co.uk

    For some stupid crazy reason the tradiitonal codes which I have included in my CSS are not centering the image and I have absoloutely no idea why. Is this quite a complex problem or does anybody know if I am doing something realtively simple incorrectly?

    Thanks in advance and anticiiation for some help!

    Jbone
     
    Jbone, Aug 21, 2011 IP
  2. i-WatchMoviesFREE

    i-WatchMoviesFREE Peon

    Messages:
    60
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    As the image you are trying to use is so large, centering it is putting 3/4 of the image in view, and the rest into the scroll bar. And to be honest it is doing EXACTLY what you are telling it to do

    I would reccomend two things

    1) You could Resize The Image to allow a <center> code to work while fitting it within your sites screen

    or Try an Align Left with the Existing Image

    <IMG SRC="footballpiclinkorserverimagenamehere" ALIGN=LEFT>
     
    i-WatchMoviesFREE, Aug 21, 2011 IP
  3. internetmarketingbadger

    internetmarketingbadger Peon

    Messages:
    28
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Definitely try to resize it because I think the image will still look nice while allowing you to truly center the image. Good luck!
     
    internetmarketingbadger, Aug 21, 2011 IP
  4. dplover147

    dplover147 Member

    Messages:
    120
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    36
    #4
    use image in logo div as background and gave it margin o auto and make background in center.
     
    dplover147, Aug 21, 2011 IP
  5. Jbone

    Jbone Greenhorn

    Messages:
    56
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Thanks for the help guys, I resized the image and now it is sittting in the center! Thank you.

    Also on another note would you be able to ell me what theme is being used on this site: http://bwinbetting.com/ . I think its a custom theme which is not available to buy etc..?

    Thank you
    Jbone
     
    Jbone, Aug 22, 2011 IP
  6. sidebreast

    sidebreast Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Use div and center tags if you want to brute force it into place.
     
    sidebreast, Aug 22, 2011 IP
  7. dplover147

    dplover147 Member

    Messages:
    120
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    36
    #7
    yes jbone its custom design.
    if you want a better one then tell me ...
     
    dplover147, Aug 22, 2011 IP