Advertisement:
2by2host

Author Topic: background image compatibility?  (Read 11864 times)

Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
background image compatibility?
« on: September 10, 2003, 04:34:46 PM »
I've got this really weird problem. I'm trying to use a background image in a table cell. Ofcourse IE shows it correctly, but all other major browsers (NN, Opera, Mozilla, Firebird) don't show it at all.

I've searched the web for compatibility issues, but found none, it should disply correctly.

This is the CSS for it:

Code: [Select]
background-image: url(img/framesplit.jpg);
   background-attachment: fixed;
   background-repeat: repeat-y;

Nothing unusual about it, i'd say ;-)

If anyone can help me with this, i'd be very grateful! Thanks.

Offline Spaceman-Spiff

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,524
  • Gender: Male
Re:background image compatibility?
« Reply #1 on: September 10, 2003, 05:12:10 PM »
try putting ' (single quote) to wrap the url
url('img/framesplit.jpg')

Offline Aquilo

  • The Black Llama
  • SMF Hero
  • ******
  • Posts: 1,522
  • Gender: Male
  • ‹^^› ‹(-_-)› ‹^^›
    • The Arencibia's
Re:background image compatibility?
« Reply #2 on: September 10, 2003, 05:13:38 PM »
it works in mozilla - I think is set to the left side of the document though not the table. :P

http://aquilo.homeip.net/table_class.htm

Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
Re:background image compatibility?
« Reply #3 on: September 10, 2003, 05:40:52 PM »
try putting ' (single quote) to wrap the url
url('img/framesplit.jpg')
nope, doesn't make any difference. any more thoughts?

Offline Spaceman-Spiff

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,524
  • Gender: Male
Re:background image compatibility?
« Reply #4 on: September 10, 2003, 06:00:04 PM »
a url to the page might help

Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
Re:background image compatibility?
« Reply #5 on: September 10, 2003, 06:06:41 PM »
http://aimpower.ultimateweapon.net

It's in dutch, don't mind that ;)... the first bg-image should appear just under the top black line, with the navigation path in it (hard to see now because of the lack of the bg-image).

The second one should appear as a border between the darker blue menu to the left and the light-blue main content (you can ofcourse see what it SHOULD do in IE, so you understand what i'm talking about ;)). Thanks!


Offline Spaceman-Spiff

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,524
  • Gender: Male
Re:background image compatibility?
« Reply #6 on: September 10, 2003, 06:29:00 PM »
problem is: in HTML you used:
class="framesplit-cell">
the actual css class name is: framesplit-cell-2

Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
Re:background image compatibility?
« Reply #7 on: September 10, 2003, 06:35:53 PM »
problem is: in HTML you used:
class="framesplit-cell">
the actual css class name is: framesplit-cell-2
no, that's not true... 'framesplit-cell' is for the top part and 'framesplit-cell-2' for the bottom part.

Besides that, the other part where i use a bg-image (class = nav-cell) also doesn't work. So it's not that unfortunately.

And like i said, IE displays it correctly so i'm sure the classes are alright (Dreamweaver also displays it correctly).

EDIT: If you want to see it, here's the CSS: http://aimpower.ultimateweapon.net/aimpower.css

Offline Spaceman-Spiff

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,524
  • Gender: Male
Re:background image compatibility?
« Reply #8 on: September 10, 2003, 06:43:37 PM »
oh, i missed the other one
try removing: background-attachment: fixed;
and add: width: 10px;

Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
Re:background image compatibility?
« Reply #9 on: September 10, 2003, 06:47:43 PM »
That did it! Thank you VERY much!

I've been trying to fix this for days now, i knew it had to be something this small.. it always is ;)


Offline Seph|roth

  • Full Member
  • ***
  • Posts: 432
  • Gender: Male
  • Final Fantasy VII: Advent Children
    • Ultimate Weapon Fantasy Gaming Network
Re:background image compatibility?
« Reply #10 on: September 10, 2003, 06:50:39 PM »
btw, the 'width: 10px;' wasn't even necessary :P