# FF problem

**URL:** <https://forum.kirupa.com/t/ff-problem/262177>\
**Category:** web dev\
**Created:** [June 3, 2008, 10:47pm UTC](https://forum.kirupa.com/t/ff-problem/262177 "2008-06-03T22:47:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ff123](https://avatars.discourse-cdn.com/v4/letter/f/e9c0ed/32.png) [@ff123](https://forum.kirupa.com/u/ff123)\
**Post date:** [June 3, 2008, 10:47pm UTC](https://forum.kirupa.com/t/ff-problem/262177/1 "2008-06-03T22:47:57Z")

</div>

I have this code for bg in CSS

.blogbg{;  
padding-top: 20px;  
background: url(‘bg.jpg’) no-repeat 1px 0; /_20px 0 equals horizontal and vertical position of arrow. Adjust as desired (ie: 20px -5px)._/  
}

and used this in html \<div class=“blogbg”\> fkkd \</div\>

its showing the bg in Internet Explorer but not in FireFox

---

<div class="post-metadata">

**Author:** ![Raydred](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/raydred/32/65_2.png) [@Raydred](https://forum.kirupa.com/u/Raydred)\
**Post date:** [June 3, 2008, 11:18pm UTC](https://forum.kirupa.com/t/ff-problem/262177/2 "2008-06-03T23:18:40Z")

</div>

I dont think this is valid:

```auto
.blogbg{;

```

it should be:

```auto
.blogbg{

```

(without the “;”);

```auto

.blogbg
{
padding-top: 20px;
background: url('bg.jpg') no-repeat 1px 0; /*20px 0 equals horizontal and vertical position of arrow. Adjust as desired (ie: 20px -5px).*/
}

```

try taking that out and see if that makes a difference. IE is very forgiving with stuff like that (it renders anyway), but it encourages bad form and makes mistakes less obvious.

---

<div class="post-metadata">

**Author:** ![ff123](https://avatars.discourse-cdn.com/v4/letter/f/e9c0ed/32.png) [@ff123](https://forum.kirupa.com/u/ff123)\
**Post date:** [June 4, 2008, 12:43am UTC](https://forum.kirupa.com/t/ff-problem/262177/3 "2008-06-04T00:43:33Z")

</div>

Silly mistakes… Thanks dude…

---

<div class="post-metadata">

**Author:** ![Raydred](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/raydred/32/65_2.png) [@Raydred](https://forum.kirupa.com/u/Raydred)\
**Post date:** [June 4, 2008, 3:20am UTC](https://forum.kirupa.com/t/ff-problem/262177/4 "2008-06-04T03:20:22Z")

</div>

[QUOTE=ff123;2336062]Silly mistakes… Thanks dude…[/QUOTE]

No problem =) thats what im here for.
