valign='middle' not working in IE?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • laredotornado

    valign='middle' not working in IE?

    Hi,

    On this page



    I have a table (with the burnt orange background, to the right) within
    a table cell. The background color of the cell is purple, which
    you'll probably be able to see on PC IE 7. What I want is to
    vertically center that table within the table cell, but specifying the
    "valign='middle '" property in the parent table cell doesn't seem to be
    doing anything.

    Ideally, shouldn't doing so make part of the purple bg appear both
    above and below the table?

    Thanks for any advice, - Dave
  • rf

    #2
    Re: valign='middle' not working in IE?


    "laredotorn ado" <laredotornado@ zipmail.comwrot e in message
    news:310a3c9b-feea-4064-80ba-a111a798f5bc@i2 9g2000prf.googl egroups.com...
    Hi,
    >
    On this page
    >

    >
    I have a table (with the burnt orange background, to the right) within
    a table cell. The background color of the cell is purple, which
    you'll probably be able to see on PC IE 7. What I want is to
    vertically center that table within the table cell, but specifying the
    "valign='middle '" property in the parent table cell doesn't seem to be
    doing anything.
    >
    Ideally, shouldn't doing so make part of the purple bg appear both
    above and below the table?
    You could just remove the orange bit. Nobody is going to be able to read it
    anyway at 10 pixels.

    Since it *is* pixels it does not enlarge in IE without using the
    accessibility options. In modern browsers when the text is enlarged the
    entire layout falls apart.

    That is one serious misuse of tables. Nested at least 5 deep. No wonder the
    browser gets confused :-)

    --
    Richard.


    Comment

    • Gary Peek

      #3
      Re: valign='middle' not working in IE?

      That is one serious misuse of tables. Nested at least 5 deep. No wonder the
      browser gets confused :-)
      Richard, I don't disagree about the _misuse_ of tables, but
      (reasonably simple) tables can be nested rather deeply without
      problems (as far as I can tell). As a test I made an interesting
      layout at: http://www.garypeek.com/web/tablemadness.htm

      Comment

      • Beauregard T. Shagnasty

        #4
        Re: valign='middle' not working in IE?

        Gary Peek wrote:

        [rf wrote:]
        >That is one serious misuse of tables. Nested at least 5 deep. No
        >wonder the browser gets confused :-)
        >
        Richard, I don't disagree about the _misuse_ of tables, but
        (reasonably simple) tables can be nested rather deeply without
        problems (as far as I can tell). As a test I made an interesting
        layout at: http://www.garypeek.com/web/tablemadness.htm
        I'll agree that nested tables usually work in most browsers, if composed
        carefully without error. (Not included: speech browsers.) If they "work"
        - and borrowing a line from Jukka, "for some degree of work" - is still
        not a reason to use them.

        However, you must agree that your example would be a maintenance
        headache. Or dare I say nightmare?

        Please don't strip attributes. Thanks for your consideration.

        --
        -bts
        -Friends don't let friends drive Vista

        Comment

        • Gary Peek

          #5
          Re: valign='middle' not working in IE?

          Beauregard T. Shagnasty wrote:
          However, you must agree that your example would be a maintenance
          headache. Or dare I say nightmare?
          Agreed. Actually I have a small web site that uses such a
          layout, but I have only a few web sites that I maintain,
          so it is not much of an issue. A pro, working on many/large
          sites for a living, would not do such a thing.
          Please don't strip attributes. Thanks for your consideration.
          Oops, sorry, don't know what you mean. :(

          Comment

          • Gary Peek

            #6
            Re: valign='middle' not working in IE?

            Beauregard T. Shagnasty wrote:
            Did you erroneously erase rf's?
            No, I just tend to trim aggressively.
            Your suggestion is noted. Thanks.

            Comment

            • Gary Peek

              #7
              Re: valign='middle' not working in IE?

              rf wrote:
              "Gary Peek" wrote in message
              >Richard, I don't disagree about the _misuse_ of tables,
              >
              Even when it looks like this?
              http://barefile.com.au/register.jpg
              I agree, they made it complex enough and deeply nested enough
              to not work well. I guess my examples are simple enough to
              (usually) not do that.

              Comment

              Working...