2

I want to align the table to the center of the page, how ever the <div align="center" <table> </div> function does not work.

How would I be able to achieve this in markdown?

Code:

# <center>Lesson 1 Calculus 310</center>

<div align="center">

| Name | General Formula |  Formula |
| --- | ----------- | ----------- |
| Derivative | $$\frac{d}{dx} (f(x)^n)$$| $$ nx^{(n-1)}$$|
| Anti-derivative | $$\int_a^b f(x)^n \,dx$$ | $$\frac{x^{n+1}}{n+1} + c$$|

</div>

Output:

enter image description here

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
cream er
  • 67
  • 6

1 Answers1

0
style="margin-left: auto;margin-right: auto"

Give this one to your table and your table's position will be in the center.

Thanks