+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Sitefinity Blog Posting Image Margins

Sitefinity Blog Posting Image Margins

3 posts, 0 answered
  1. Anal
    Anal avatar
    2 posts
    Registered:
    18 Sep 2012
    18 Sep 2012
    Link to this post

    Hello Telerik Team,
      
    In the blog posts when adding an image, we have to manually set the image margins using <img src="xxx" style="margin:8px;"> and what we want to do is add a CSS Attribute to this so that I can control the style via a CSS Class file.
     
     I have attched snap for set Image margin in red color.
      
    Please assist.
     
    Thanks & Regards,
     Anal Kukadiya
     anal.kukadiya@boxerproperty.com

  2. Lupi
    Lupi avatar
    38 posts
    Registered:
    17 May 2004
    18 Sep 2012
    Link to this post
    Hi Anal,

    The <img> tag supports the following HTML attributes - hspace & vspace. However they work for both sides at the same time - so hspace will affect the left AND right spacing. Or you could always apply a custom attribute like this - style="margin-top:5px"
  3. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    18 Sep 2012
    Link to this post
    You can configure the editor to allow you to add custom classes to things...you could then apply CSS to style those elements however you want. Check out this post about how to enable the ApplyClass tool.
3 posts, 0 answered