By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,446 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,446 IT Pros & Developers. It's quick & easy.

valign='middle' not working in IE?

P: n/a
Hi,

On this page

http://easyrx.us/public/register/start

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
Feb 11 '08 #1
Share this Question
Share on Google+
6 Replies


P: n/a
rf

"laredotornado" <la***********@zipmail.comwrote in message
news:31**********************************@i29g2000 prf.googlegroups.com...
Hi,

On this page

http://easyrx.us/public/register/start

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.
Feb 11 '08 #2

P: n/a
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
Feb 11 '08 #3

P: n/a
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
Feb 11 '08 #4

P: n/a
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. :(

Feb 11 '08 #5

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

Feb 11 '08 #6

P: n/a
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.
Feb 12 '08 #7

This discussion thread is closed

Replies have been disabled for this discussion.