Table alignment

M

Mike T.

Hi,

I'm trying to align a table (12 rows, 1 column, relatively narrow) dead
center on a page, horizontally AND vertically. No matter what HTML or CSS
tags I use (vertical-align?), I can't seem to accomplish both of these
objectives at the same time. Does anyone have a suggestion?

Thanks,
Mike
 
R

rf

Mike said:

Er, G'day.
I'm trying to align a table (12 rows, 1 column, relatively narrow)

Is this really table data or is it something like navigation where you are
misusing the table element? An said:
dead
center on a page, horizontally

Easy. CSS. margin: auto; with embelishments to cause the older browser (IE)
to conform.
AND vertically.

Er, why? Why should anything be verticaly centered? You don't know how high
my canvas is and if it is so much higher than your content that you need to
vertically center it then your content is way too small :)
 
N

Neal

Hi,

I'm trying to align a table (12 rows, 1 column, relatively narrow)

What data is being compared in this table? If it's one column, isn't it a
list?
dead
center on a page, horizontally AND vertically. No matter what HTML or CSS
tags I use (vertical-align?), I can't seem to accomplish both of these
objectives at the same time. Does anyone have a suggestion?

If you're using CSS tags, I can see your problem.

But I can't see it, really. Do your best in a simple demo of the problem,
post a URL here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top