alecjw Posted August 27, 2006 Share Posted August 27, 2006 Hi. I want to centre a table in page, how do i do it? Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 27, 2006 Share Posted August 27, 2006 [code]<table align='center' ....[/code] Quote Link to comment Share on other sites More sharing options...
alecjw Posted August 27, 2006 Author Share Posted August 27, 2006 Soz, I meant XHTML strict. I wasn't clear. There is no align attribute in strict. Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 27, 2006 Share Posted August 27, 2006 CSS style - table { margin-left:auto; margin-right:auto; text-align: center; } Quote Link to comment Share on other sites More sharing options...
alecjw Posted August 27, 2006 Author Share Posted August 27, 2006 Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.