HighDots Forums  

valign='middle' not working in IE?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss valign='middle' not working in IE? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
laredotornado
 
Posts: n/a

Default valign='middle' not working in IE? - 02-10-2008 , 06:35 PM






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

Reply With Quote
  #2  
Old   
rf
 
Posts: n/a

Default Re: valign='middle' not working in IE? - 02-10-2008 , 07:07 PM







"laredotornado" <laredotornado (AT) zipmail (DOT) com> wrote

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




Reply With Quote
  #3  
Old   
Gary Peek
 
Posts: n/a

Default Re: valign='middle' not working in IE? - 02-11-2008 , 07:25 AM



Quote:
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


Reply With Quote
  #4  
Old   
Gary Peek
 
Posts: n/a

Default Re: valign='middle' not working in IE? - 02-11-2008 , 09:59 AM



Beauregard T. Shagnasty wrote:

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

Quote:
Please don't strip attributes. Thanks for your consideration.
Oops, sorry, don't know what you mean.



Reply With Quote
  #5  
Old   
Gary Peek
 
Posts: n/a

Default Re: valign='middle' not working in IE? - 02-11-2008 , 01:25 PM



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



Reply With Quote
  #6  
Old   
rf
 
Posts: n/a

Default Re: valign='middle' not working in IE? - 02-11-2008 , 05:01 PM




"Gary Peek" <mylastname (AT) mycompanyname (DOT) com> wrote

Quote:
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,
Even when it looks like this?

http://barefile.com.au/register.jpg

It would be difficult to cause a modern design to break like this when font
size is increased.

--
Richard.




Reply With Quote
  #7  
Old   
rf
 
Posts: n/a

Default Re: valign='middle' not working in IE? - 02-11-2008 , 05:19 PM




"rf" <rf (AT) invalid (DOT) com> wrote

Quote:
"Gary Peek" <mylastname (AT) mycompanyname (DOT) com> wrote in message
news:F1Yrj.10952$Ej5.9703 (AT) newssvr29 (DOT) news.prodigy.net...
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,
excess snippage repaired.

Quote:
but (reasonably simple) tables can be nested rather deeply without
problems (as far as I can tell).

Quote:
Even when it looks like this?

http://barefile.com.au/register.jpg

It would be difficult to cause a modern design to break like this when
font size is increased.

--
Richard.





Reply With Quote
  #8  
Old   
Gary Peek
 
Posts: n/a

Default Re: valign='middle' not working in IE? - 02-11-2008 , 08:24 PM



rf wrote:
Quote:
"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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.