# CSS Image?

**URL:** https://forum.kirupa.com/t/css-image/50381
**Category:** web dev
**Created:** [May 2, 2004, 3:04pm UTC](https://forum.kirupa.com/t/css-image/50381 "2004-05-02T15:04:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SeiferTim](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/seifertim/32/188_2.png) [@SeiferTim](https://forum.kirupa.com/u/SeiferTim)
#### Post date: [May 2, 2004, 3:04pm UTC](https://forum.kirupa.com/t/css-image/50381/1 "2004-05-02T15:04:17Z")

</div>

Is there anyway to use CSS to make certain images show up in place of text?  
Like, lets say I wanted to make a site, that has a news page, and in the top-right corner of each news update, is the date that it was posted. Can I use CSS to make a class: dateTxt, and if i say:

```auto
<div class="dateTxt">01/01/2000</div>

```

It will look like:  
[picture of a clock or whatever] 01/01/2000

Is it possible? Or would I have to use PHP to get that type of thing?
