Search |
Centering TablesHi together,
<table style="text-align:center">,but this doesn’t change anything. I’ve found some article on the web (see here). According to this article something like: table.center {margin-left:auto; margin-right:auto;}
and then
<table class="center">
should work, but how can I type in something in ActiveMath?
Can somebody help me?
|
try style="cm"
Andi,
have you tried the following?
the interest of such a tag is that it follows LaTeX’s $$ with, for example, things above and below in sums. But it also centers.
paul
style="cm" doesn't work
Hi Paul,
I’ve tried it, but it doesn’t seem to work here.
Are there any other alternatives?
please put on sandbox
Andi,
can you upload this on sandbox please so we can see it on the web?
It’s not a hard thing but I’d better have it this way so that we propose a practice that’s here to stay.
thanks in advance.
paul
Hey Andi, I guess one
Hey Andi, I guess one problem is that you haven’t specified the table width. This way the table is always 100% broad and therefore not centerable.
Additionally to Paul approach with <p style=”cm”> you can add a padding style to the table for example: <table width=”80%” style=”padding-left:15%”> …
This is not 100% accurate but almost.
Michael