1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

vertical_align?

Discussion in 'CSS' started by BraveStarr, Oct 25, 2005.

  1. #1
    I have an image which I have set the float value to 'left.' I then have text which does line up next to the image. However, the height of the alignment is differnent in IE and FireFox. The text is at the top of the image in IE, but a little below in FireFox. I have set the vertical_align property of the text to 'top' but it does not seem to do anything.

    Here are the two files:
    HTML: http://www.betatke.org/alumni/test/index.html
    CSS: http://www.betatke.org/alumni/test/layout.css
     
    BraveStarr, Oct 25, 2005 IP
  2. BraveStarr

    BraveStarr Guest

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ok. I fixed that with a 'display: inline;' But I still can't get any of the vertical-align options to work. Any hints?
     
    BraveStarr, Oct 25, 2005 IP
  3. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #3
    See the post 208494 for a detailed explanation.
     
    J.D., Oct 26, 2005 IP
  4. BraveStarr

    BraveStarr Guest

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Awesome... Thanks a lot...
     
    BraveStarr, Oct 27, 2005 IP