News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

background image compatibility?

Started by Seph|roth, September 10, 2003, 04:34:46 PM

Previous topic - Next topic

Seph|roth

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:

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.

Spaceman-Spiff

try putting ' (single quote) to wrap the url
url('img/framesplit.jpg')

Aquilo

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

Seph|roth

Quote from: Spaceman-Spiff on September 10, 2003, 05:12:10 PM
try putting ' (single quote) to wrap the url
url('img/framesplit.jpg')
nope, doesn't make any difference. any more thoughts?

Spaceman-Spiff


Seph|roth

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!


Spaceman-Spiff

problem is: in HTML you used:
class="framesplit-cell">
the actual css class name is: framesplit-cell-2

Seph|roth

Quote from: Spaceman-Spiff 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
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

Spaceman-Spiff

oh, i missed the other one
try removing: background-attachment: fixed;
and add: width: 10px;

Seph|roth

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 ;)


Seph|roth

btw, the 'width: 10px;' wasn't even necessary :P

Advertisement: