General developer forum

How to center align embedded google calendar

 
Picture of kim Rechter
Re: How to center align embedded google calendar
 

normally you simply add: 

 #content {

 text-align: center; 

 } 

another trick would be setting the width of the div and then auto margin your div:

 #content {

 width: 800px;

 margin-left: auto; 

 margin-right: auto;

 }

 
Average of ratings: -