Hello!
I am using the figure directive to center images, giving it a figclass
align-center argument. The images are centered nicely in the latex output,
but not in the html, so I force-centered them using a custom css file.
It contains:
@import url("default.css");
img.align-center{
text-align: center;
position: relative;;
display: block;
margin-left: auto;
margin-right: auto
}
img{
text-align: center;
position: relative;
display: block;
margin-left: auto;
margin-right: auto
}
I included the img specifications because the images were not coming up as
image class align-center in the html, which forced all pngmath images center
as well. Am I incorrect in thinking that the figure directive would
translate to a css class attribute?
I would like to just force the figures of the class align-center to center,
using the css.
Jordan
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.