Centering a table

They have: 21 posts

Joined: Feb 2000

Hey guys, Me again..

I need some help on centering my table...

It is to the left, I want it to be centered

THANKS
§Rookie§

AndyB's picture

They have: 344 posts

Joined: Aug 1999

Put an html CENTER tag around it

They have: 406 posts

Joined: Feb 2000

Use the TABLE align=center command

------------------
Adam
[email protected]

Jaiem's picture

They have: 1,191 posts

Joined: Apr 1999

Is it better to use the CENTER tag or the DIV tage with align=center?

------------------
ArtsNFlies.com
Original art, hand tied flies, unique books and gifts, free sweepstakes and MORE!
Come see what everyone is talking about!

merlin's picture

They have: 410 posts

Joined: Oct 1999

jaiem: i suggest it's the best way to use
<table align=center>, so you know exactli where to change it.

They have: 81 posts

Joined: Feb 2000

CENTER and DIV align="center" are deprecated.

Both will work with current browsers. DIV align="center" will not center a table under Mozilla M13 (NS5.0 alpha release), CENTER will. May change by final release, but who knows?

TABLE align="center" doesn't work in some older browsers (notably older AOL browsers), works in current browsers, works in M13.

Determining who (or rather, which browsers) makes up the majority of your visitors and then deciding which (or which combination) to use would seem the prudent course.

HTH

Bimjo

Bimjo
Just my opinion, worth $0.00001 anywhere on earth.
======================
Bimjo's Corner

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

Or as I've seen on many a site -- when in doubt -- redundancy. It may not be elegant. but it works.

Vinny

------------------
GrassBlade: cut&paste javascript

Where the world once stood
the blades of grass cut me still

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.