# I need a lil css help

**URL:** <https://forum.kirupa.com/t/i-need-a-lil-css-help/10650>\
**Category:** programming\
**Created:** [January 5, 2003, 12:01am UTC](https://forum.kirupa.com/t/i-need-a-lil-css-help/10650 "2003-01-05T00:01:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DDD](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DDD](https://forum.kirupa.com/u/DDD)\
**Post date:** [January 5, 2003, 12:01am UTC](https://forum.kirupa.com/t/i-need-a-lil-css-help/10650/1 "2003-01-05T00:01:34Z")

</div>

Okay I have a \< td \> that I want to have a background image. But in ie 5.0 it does not show up. I am trying to do some testing for browser acceptance. I know there has to be a way thru like javascript or something or other. I am not sure if I am wording this correctly so if you need more just let me know.

[edit by lostinbeta] to show tag, it was messing up the forum layout[/edit]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 5, 2003, 12:14am UTC](https://forum.kirupa.com/t/i-need-a-lil-css-help/10650/2 "2003-01-05T00:14:13Z")

</div>

You can set the background image of a table cell through regular HTML rather than CSS as well.

```php
<TD BACKGROUND="image.gif"></TD>

```

or the CSS way

```php
<TD STYLE="background-image: image.gif"></TD>

```

They both work fine, but with CSS you are able to control if it repeats or not.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 5, 2003, 12:18am UTC](https://forum.kirupa.com/t/i-need-a-lil-css-help/10650/3 "2003-01-05T00:18:06Z")

</div>

I tried that way but I have figured it out. For some strange reason it works if I import the stylesheet along with the link stylesheet.

It is weird because if I do it inline = doesnt work  
embedded stylesheet does not work  
link stylesheet does not work  
import stylesheet does not work  
but if use both import and link together it works go figure. I am stating this just incase someone else has this problem. The platform I was testing is ns 6.1 on win 2000 and ie 5.0 on windows 2000. Those are the hardest to get.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 5, 2003, 12:55am UTC](https://forum.kirupa.com/t/i-need-a-lil-css-help/10650/4 "2003-01-05T00:55:16Z")

</div>

Why didn’t you just define it on the table cell itself? That is… unless you are using the same image on the background of multiple cells.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 5, 2003, 1:40am UTC](https://forum.kirupa.com/t/i-need-a-lil-css-help/10650/5 "2003-01-05T01:40:52Z")

</div>

I did do that but it would not show up on that specific browser OS combination win 2000 and ie 5.0

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 5, 2003, 3:11am UTC](https://forum.kirupa.com/t/i-need-a-lil-css-help/10650/6 "2003-01-05T03:11:06Z")

</div>

Oh, interesting.

Glad you got it fixed though 🙂
