vertical alignment

Discussion in 'HTML' started by Slick50, Dec 14, 2006.

  1. Slick50

    Slick50 Guest

    http://messiah.scojul.homedns.org

    Can you please explain to me why IE vertically aligns the SPAN at the
    bottom, but FF aligns at the top? And what's the right way to fix? This an
    IE bug?
     
    Slick50, Dec 14, 2006
    #1
    1. Advertisements

  2. Slick50

    Vince Morgan Guest

    "Slick50" <> wrote in message
    news:yQ4gh.7478$...
    > http://messiah.scojul.homedns.org
    >
    > Can you please explain to me why IE vertically aligns the SPAN at the
    > bottom, but FF aligns at the top? And what's the right way to fix? This an
    > IE bug?
    >
    >


    I've removed "clear:left". Clear left won't allow anything to be to it's
    immediate left, which in this case causes problems in more standard
    complient browsers. In this case we want the image to be to the left.
    There is no need for a clear right as there's nothing to clear there.
    Float right means to align to the right, and should align top automaticaly
    IIRC.

    #mlp
    {
    FLOAT: right;
    BORDER-RIGHT: black thin solid;
    BORDER-TOP: black thin solid;
    BORDER-LEFT: black thin solid;
    BORDER-BOTTOM: black thin solid;
    }

    Your getting there,
    Vince Morgan
     
    Vince Morgan, Dec 14, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. dba56
    Replies:
    0
    Views:
    1,019
    dba56
    Apr 14, 2005
  2. Luc
    Replies:
    2
    Views:
    519
    Sid Ismail
    Jan 19, 2004
  3. Nik Coughin

    Vertical alignment in a div

    Nik Coughin, Jan 21, 2004, in forum: HTML
    Replies:
    9
    Views:
    5,532
    Nik Coughin
    Jan 28, 2004
  4. Jim Heavey

    Vertical Alignment

    Jim Heavey, Mar 2, 2004, in forum: HTML
    Replies:
    10
    Views:
    960
  5. Arondelle
    Replies:
    12
    Views:
    973
    Spartanicus
    Jul 18, 2004
  6. Jakob Rohde

    Vertical alignment of a form

    Jakob Rohde, Jan 8, 2005, in forum: HTML
    Replies:
    11
    Views:
    2,826
    Toby Inkster
    Jan 9, 2005
  7. Byron

    Dynamic vertical alignment?

    Byron, Dec 14, 2005, in forum: HTML
    Replies:
    0
    Views:
    523
    Byron
    Dec 14, 2005
  8. Allison McGhee

    Vertical alignment - center

    Allison McGhee, Apr 13, 2006, in forum: HTML
    Replies:
    1
    Views:
    604
    BootNic
    Apr 13, 2006
Loading...