Click here to get back home

valign='middle' not working in IE?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
valign='middle' not working in IE? laredotornado 02-10-2008
Get Chitika Premium
Posted by laredotornado on February 10, 2008, 7:35 pm
Please log in for more thread options
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

Posted by rf on February 10, 2008, 8:07 pm
Please log in for more thread options

> 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.



Posted by Gary Peek on February 11, 2008, 8:25 am
Please log in for more thread options
> 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

Posted by Beauregard T. Shagnasty on February 11, 2008, 8:47 am
Please log in for more thread options
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

Posted by Gary Peek on February 11, 2008, 10:59 am
Please log in for more thread options
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. :(


Similar ThreadsPosted
HTTP GET not working ...why? March 9, 2005, 7:05 pm
CSS not working with XHTML September 28, 2006, 2:07 am
CSS not working with XHTML September 28, 2006, 2:09 am
getAttribute ('id') Not Working December 5, 2006, 9:57 am
SSI working environment May 31, 2007, 10:23 am
Z-index not working? March 27, 2008, 10:55 pm
Are You Tired of Working for your boss? Why not for yourself? September 16, 2004, 7:01 am
z-index style not working December 21, 2004, 2:36 pm
URL link using Button not working in IE June 8, 2005, 2:43 pm
Homesite - SSL ftp to vsftpd not working June 24, 2005, 2:21 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap