I want to add text after the icon using HTML. Any help? Below is the image.
Asked
Active
Viewed 58 times
-3

Anantha Raju C
- 1,780
- 12
- 25
- 35

Bhavya
- 1
- 4
-
I do not see an image, but happy to help if you can be more specific. – patrickhawley Oct 02 '16 at 22:53
-
1Possible duplicate of [How can I wrap text around a non rectangular image?](http://stackoverflow.com/questions/9129862/how-can-i-wrap-text-around-a-non-rectangular-image) – Sebastian Simon Oct 02 '16 at 22:57
-
Can you see the link..just click on the link and it will take you to the image. – Bhavya Oct 02 '16 at 22:58
-
1Hey Bhavya .. Can you please elaborate. I cant able to see any icon in that image – Saravanan Kasi Oct 02 '16 at 23:01
-
@Bhavya i guess it would help if you edit this image on where you wnat text and post the html/css code that you currently use to display the image/site. – Pinkie Swirl Oct 03 '16 at 02:04
1 Answers
0
Simpliest way to do it, if you do not use any framework like bootstrap, you can try following:
.myContent { margin:0; padding:0; background-color: #ccc; }
.myContent .left { float:left; width:20%;}
.myContent .text { padding:10px; }
.clear { clear: both; }
<div class="myContent">
<div class="left">
<img src="images/your-image.jpg" />
</div>
<div class="left">
<div class="text">
my text....more text...
</div>
</div>
<div class="clear"></div>
</div>

Vural
- 8,666
- 11
- 40
- 57