최근 검색
최근 검색 없음
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개
Tipene Hughes
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
댓글을 남기려면 로그인하세요.