最近搜索


没有最近搜索

Wraping text around an image



已于 2022年12月16日 发布

Hello ZD Community :)

I/We are working on articles in Zendesk Guide and during this a need for wraping the text around the images arises. 

I tried to create a class in style.css as below -

.wrapingimageleft {
  float: left;
  margin: 30px 12px 3px 4px;
  border: 2px solid blue;    
}

and then creating a div container with that class in the source code for the article - 

<div>
  <div class="wrapingimageleft">
    <img src="/hc/article_attachments/11464688295057" alt="mceclip7.png">
  </div>
  <div>
    <p>BUILD</p>
   </div>
</div>

But this results in no change. Any idea on what is the issue? 


0

1

1 条评论

Hi Bo,
 
I've just tested your code on my end and it appears to be working as expected. One potential reason that it might not be working on your end could be that you have other styles in your CSS that is overriding the wrapingimageleft class. Can you try adding the !important rule to your styles, or moving the declaration block towards the top of your stylesheet and see if that has any effect?

0


登录以发表评论。

找不到所需的内容?

新建帖子