Centered tables from .ipynb #175
-
This might seem silly, but I'm well invested in making this work and there's no turning back now.
I'm particularly fond of the .css approach, but I can't find much documentation on what would give me the desired result. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Turns out this CAN be done. It's just that the .css styling rules weren't being given enough priority. I added the p {
text-align: justify;
}
table {
display: table !important;
margin-left: auto !important;
margin-right: auto !important;
}
.table {
width: auto !important;
} |
Beta Was this translation helpful? Give feedback.
Turns out this CAN be done. It's just that the .css styling rules weren't being given enough priority. I added the
!important
tag to my rules and that fixed it. In case anybody comes across this, later on, the following is my .css code to justify or center-align most book contents.