Images not aligned in chrome but fine in IE and FF. Any suggestions?

Discussion in 'HTML & Website Design' started by geekology, Sep 1, 2010.

  1. #1
    On our new website http://www.ajonit.com/, we see that images on the home page are aligned properly in IE and FF whereas the look way off the mark in Chrome.

    Any suggestions to rectify this?
     
    geekology, Sep 1, 2010 IP
  2. Piotr Aszoff

    Piotr Aszoff Active Member

    Messages:
    38
    Likes Received:
    3
    Best Answers:
    2
    Trophy Points:
    53
    #2
    It looks like chrome adds some extra padding or something.

    Try to reset margins and padding or use some more rows for the table instead of one.

    You can also try to use div elements instead of table.
     
    Piotr Aszoff, Sep 1, 2010 IP
  3. goliveira1990

    goliveira1990 Active Member

    Messages:
    127
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    93
    #3
    What you should do to prevent problems with a homepage like this is just makes one image with hotspots, or 5 smaller images for each link stacked on top of each other.
     
    goliveira1990, Sep 1, 2010 IP
    Piotr Aszoff likes this.
  4. Piotr Aszoff

    Piotr Aszoff Active Member

    Messages:
    38
    Likes Received:
    3
    Best Answers:
    2
    Trophy Points:
    53
    #4
    goliveira1990 is right, i think it's the best solution as well.
     
    Piotr Aszoff, Sep 1, 2010 IP
  5. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #5
    Don't use tables at all.

    Use a CSS grid for that container.
     
    CSM, Sep 1, 2010 IP
  6. geekology

    geekology Well-Known Member

    Messages:
    545
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Thanks goliveira1990. I see that hot spots needs coordinates. Will they behave properly in all screen resolutions?
     
    geekology, Sep 5, 2010 IP