# I feel like an idiot for asking this, but

**URL:** <https://forum.kirupa.com/t/i-feel-like-an-idiot-for-asking-this-but/258181>\
**Category:** web dev\
**Created:** [April 21, 2008, 6:24pm UTC](https://forum.kirupa.com/t/i-feel-like-an-idiot-for-asking-this-but/258181 "2008-04-21T18:24:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Awesome\_O\_4000](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Awesome\_O\_4000](https://forum.kirupa.com/u/Awesome_O_4000)\
**Post date:** [April 21, 2008, 6:24pm UTC](https://forum.kirupa.com/t/i-feel-like-an-idiot-for-asking-this-but/258181/1 "2008-04-21T18:24:17Z")

</div>

How can I have a small image next to a line of text?

I have this “chart” kinda thing with lines of text, and I need to put a little icon on each line, like this:

![](http://img247.imageshack.us/img247/383/picture1oh4.jpg)

Right now I have a div for each row, containing the icon and text:

```auto
<div class="bar"> <div class="icon"><p class="text">Something</p></div> </div>

```

But as you imagine, the text is just on top of the icon. I feel completely retarded for not coming up with a better solution, aside from putting like 8 spaces before the text. To my credit, I’m very tired and just out of it today. Gøddamn Monday. lol
