is there anyway to have just right or just left horizontal space using ckeditor
I am using ckeditor and I have a number of pictures in my content. One issue i see is that you have the ability to add horizontal or vertical space around a picture but you can't just set a right or just a left horizontal picture. Normally if I have a picture on the left side of a page and the content to the right, I would just want to set the right margin (to avoid the image bein开发者_开发问答g indented on the left)
from looking at the ckeditor demo, I only see the ability to set the space on both sides of the picture. Is there anyway around this without having to do custom css as I want to give this feature for non technical users?
this uses custom css, but its in the ckeditor ui; right click on the image, click on the advanced option tab; change the margins to fit your needs. flushed left, margin-left:0; flushed right will be margin-right:0
When we right click image in ckeditor demo, It is showing one option as image properties. When we click on this a model window will popup. This model window has alignment property. One can set it to left or right as required.
Hope this will help you.
What if we put 0 in hspace and 0 in vspace and adjust alignment = left|right.
精彩评论