Any 3rd party tool/editor to generate code to center images/videos
-
For images you could create your own convention:
For examle you could center all images with alt-tag beginning with_
by adding the following to custom css:.img-responsive[alt^="_"] { margin: auto; }
Now evey image included like
![_Mine](http://i.imgur.com/z9DWzht.gif)
should be centered.EDIT: For videos you may choose to center all of them, just add
margin: auto;
into the code I gave you here -
That's a very cool tip @frissdiegurke, I never thought of that before.. genius
-
@meetdilip said:
To be honest. I am really impressed with the help I get from community. Without you guys, I would not have been able to use such a good script. Just want to say Thanks all.
I think I can say you're welcome from all of us
@psychobunny @meetdilip @julian I appreciate your kind words
-
@Cygnus what about it doesn't work?
-
@Cygnus I've fixed it. Here's the updated CSS:
.img-responsive[alt^="_"], .topic .posts .content .img-responsive[alt^="_"] { margin: auto; display: block; }