1

The fullcalendar jquery plugin I'm using is stuck to the left side of the browser how do I center it?

<div id="calender"style="width: 80%; display: inline-block; "></div> 
ADyson
  • 57,178
  • 14
  • 51
  • 63
J Henry
  • 23
  • 6

1 Answers1

1

You can wrap your div with <center> </center> tags

<center> <div id="calender"style="width: 80%; display: inline-block; "></div> </center>

or

You can apply this CSS to the :

#inner { width: 50%; margin: 0 auto; }

Joey Phillips
  • 1,543
  • 2
  • 14
  • 22