473,324 Members | 2,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

valign='middle' not working in IE?

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
6 4243
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: John | last post by:
Below is my code. It seems that no matter what I do, I cannot get the following list of places to start at the top of the cell. It is always centered in the middle of the cell. Is vAlign the...
0
by: Bruce | last post by:
If I put an image in a table cell, it aligns with the top of the cell regardless of the valign tag. For example the following page: ************************ <html> <head> <title> a page to...
4
by: lindsey.crocker | last post by:
I have this links list with background images set on them which changes when they roll over. The <td> is set valign="middle" however as soon as you apply the rollover to the link, the text jumps...
2
by: Kay | last post by:
Hello, I have a asp lable control, which I use to display text in, I would like to have the text display aligned in the center and vertical alignment left however when I add the following style...
2
by: VB Programmer | last post by:
I have a bunch of hyperlinks in a table cell and I set the valign to "middle", but they stay at the top. Any ideas? Here's the html... Thanks in advance! <TABLE id="Table1" cellSpacing="0"...
2
by: windandwaves | last post by:
Hi, I would like to position a site in the "middle" of the screen, both horizontally and vertically. I would do this by having a "wrapper" div with { left: 50%; top: 50%;
10
by: sickboy | last post by:
Hey everyone, I am working on a new site, ForceFedTV.com and I have gotten reports that the site runs great on mac, but once loaded on a pc, after clicking a few links then going back to the home...
6
by: Jeigh | last post by:
Hello, I've been designing a graphic to be behind a form. So I figure the best way to do this is to make a table, use a background image for a cell and then put the form inside that. That has all...
3
by: =?Utf-8?B?TWFkaXNvbg==?= | last post by:
Hi There, I'm working with framework2 using reportviewer. I ran to the troublem with textbox for heading that need to set align = bottom. Format menu to set align is gray, I cannot use it. I can...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.