Welcome to WebmasterWorld Guest from 54.145.209.34

Forum Moderators: open

Displaying background-image in Opera

Problems displaying the background images in Opera in a table. Using XHTML1

   
4:17 pm on Nov 11, 2002 (gmt 0)

10+ Year Member



Hi,

I have a site that doesn't work properly in Opera. The site is compiled with tables and I have set up an external CSS-document which contain this string:

.background1
{
background-image: url(/img/bakgrunn_lang_kuttet.gif);
background-repeat: repeat-y
}

The HTML:
<td width="701" align="left" valign="top" class="background1">

Can anybody figure this out?

Thanks!

4:41 pm on Nov 11, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmasterworld, xordian!

Opera doesn't handle background images in CSS at all. I'm afraid that I don't know a workaround for this. Maybe someone else (nick_w ;)) could chime in?

5:36 pm on Nov 11, 2002 (gmt 0)

WebmasterWorld Senior Member suzyuk is a WebmasterWorld Top Contributor of All Time 10+ Year Member



The code is working in Opera for me...

edit_g...I think it's just the pseudo classes (links 'n' things) that Opera wont handle the background image for with CSS

xordian...I can only suggest that you run both your CSS and HTML code through the validators are there could be an errant table tag (or unclosed? td tags) in your HTML which Opera is very fussy about...

validators here
[validator.w3.org...]

HTH
Suzy

[edit] sp! [/edit]

9:21 pm on Nov 11, 2002 (gmt 0)

10+ Year Member



SuzyUK writes:
--
xordian...I can only suggest that you run both your CSS and HTML code through the validators are there could be an errant table tag (or unclosed? td tags) in your HTML which Opera is very fussy about...
--

Ok. Thanks I'll try to figure it out :)

7:32 am on Nov 12, 2002 (gmt 0)

10+ Year Member



It works fine for me too, in both Opera 6.05 and 5.12.
Maybe you missed a semicolon at the and of the "background-repeat" line?
8:31 am on Nov 14, 2002 (gmt 0)

10+ Year Member



I downloaded the newest version of Opera (6) and the site looked all fine here. I will add an User-agent string to redirect the users in to a document which can redirect the user to download the latest version of Opera.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month