SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2006
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Vertical Align not working

    Hello all,

    In internet explorer, the 1st Choice Mortgage img on the top right corner of the page is not fitting correctly in the box. Take a look and tell me what you think

    http://www.crsproperties.net

    I have the

    img {
    vertical-align:bottom;
    }

    correctly specified for it but it doesn't seem to work.

  2. #2
    Winemaster bronze trophy BonRouge's Avatar
    Join Date
    Oct 2004
    Location
    Sendai, Japan
    Posts
    2,417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try this:
    Code:
    #rightcol {
    overflow:hidden;
    }

  3. #3
    Non-Member lostseed's Avatar
    Join Date
    Sep 2005
    Location
    Zurconion Soon!
    Posts
    1,549
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would always validate first: http://validator.w3.org/check?uri=ht...perties.net%2F
    Correct Errors first, although it may not apply to the vertical align, SOMETIMES validation clears up weird issues. Besides its good to have valid code =)

    Nice design by the way =)

  4. #4
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by xposed
    I have the

    img {
    vertical-align:bottom;
    }
    I think you need to set the line-height to be equal the height of the image with that method. The other way is to set the image to display: block.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •