The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › align my photo gallery at center of my div
Im using tinymce inside a teaxtarea to insert news into a website.
In this text area I write text but sometimes I also insert a embed code that corresponds to a photo gallery in tinymce html editor. (Im using an online photo sharing service for my images gallery.)
This service give me a “embed code” and when I insert in my tinymce html editor I get this in my html: (my embed tag becomes a object tag)
And now Im trying to align my photo gallery at center of my modal div, but Im not having sucess doing this.
Because Im showing my tinymce content in my website like this:
And in this query result I have my paragraph text but also my photo gallery, so I really dont know how to align my photo gallery at center.
Do you know how can I solve this?
This is my fiddle with full example: http://jsfiddle.net/65z7w3z3/