Jump to content

Archived

This topic is now archived and is closed to further replies.

alecjw

Centre a table

Recommended Posts

Hi. I want to centre a table in page, how do i do it?

Share this post


Link to post
Share on other sites
[code]<table align='center' ....[/code]

Share this post


Link to post
Share on other sites
Soz, I meant XHTML strict. I wasn't clear. There is no align attribute in strict.

Share this post


Link to post
Share on other sites
CSS style - table { margin-left:auto; margin-right:auto; text-align: center; }

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.