Banner image wont center in IE

Discussion in 'HTML & Website Design' started by Janrafi, Mar 4, 2009.

  1. #1
    What could be the reason why my banner image wont center in IE but it shows up normally in firefox or google chrome? The image moves to the right in IE.
     
    Janrafi, Mar 4, 2009 IP
  2. Joak1m

    Joak1m Peon

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Give us the source code.
     
    Joak1m, Mar 4, 2009 IP
  3. Janrafi

    Janrafi Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    of the whole site? or header? do i need to include the css?
     
    Janrafi, Mar 4, 2009 IP
  4. Joak1m

    Joak1m Peon

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Header and CSS ;)
     
    Joak1m, Mar 4, 2009 IP
  5. Janrafi

    Janrafi Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I don't know how to put a code here. In any case, my site is janrafi.com. If you look at it using IE and firefox, you would notice right away.
     
    Janrafi, Mar 4, 2009 IP
  6. Joak1m

    Joak1m Peon

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Well, all i can say, is that IE doesent like the navbar part:

    
    <ul id="navbara">
    <li><a href="" title="Rags to Riches Online" onclick="javascript:urchinTracker('/file/');">Home</a></li>
    <li><a href="http://www.janrafi.com/about/" title="About Us" rel="nofollow">About</a></li>
    <li><a href="http://www.janrafi.com/privacy-policy/" title="Privacy Policy" rel="nofollow">Legal</a></li>
    <li><a href="http://www.janrafi.com/feed/">RSS</a></li>
    </ul>
    
    HTML:
    If you remove it, it is ok. I wont make any further inquiries, because I noticed that you are teaching on your webpage, how to get rich, so you probably have loads of money, hire someone, or figure it out yourself.
     
    Joak1m, Mar 4, 2009 IP
  7. Janrafi

    Janrafi Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thanks joakim. i'll try what you said. although in that case, i'm not rich. yet. but i plan to be. that site is my blog about my journey to get there.
     
    Janrafi, Mar 4, 2009 IP
  8. JoshFizgerts

    JoshFizgerts Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    <center><img src='header'></center>
    <div align="center"><img src='header'></div>
    Code (markup):
    ?
     
    JoshFizgerts, Mar 4, 2009 IP
  9. Janrafi

    Janrafi Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I just want to thank you for your suggestions. I edited the navbar part just like joakim's suggestion. It worked but i had to change every image in my header. It looks ok now with the latest version of IE and firefox and chrome. I just have no idea what it would look like with IE 6. I understand many people still use that version. How do I go about checking?
     
    Janrafi, Mar 14, 2009 IP
  10. JoshFizgerts

    JoshFizgerts Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Google it ;)
     
    JoshFizgerts, Mar 14, 2009 IP
  11. Joak1m

    Joak1m Peon

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Joak1m, Mar 16, 2009 IP