Welcome visitor
* Login
* Register
It is currently September 15th, 2019, 7:52 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Center a table without tables layout
PostPosted: March 16th, 2010, 8:03 pm 

Posts: 15
How can i center a table on the screen?

I know that I can create a huge table with one cell and then the table inside could be easily aligned with the align="center" attribute, but without using tables for layout, how could you do it?


Top
 Profile  
 
  Re: Center a table without tables layout
PostPosted: March 17th, 2010, 5:51 am 
User avatar

Posts: 136
<style type="text/css">
table{margin: auto}
</style>
;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron