css, background image & opera

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

I know this has been discussed before and I have searched the forum.

I am placing a background image in the top left corner using CSS. Works fine in IE but tiles in Opera across the top of the page. What am I leaving out?

body {
background-image : url(image.gif);
background-repeat : no-repeat;
padding:0px;
margin:0px;
}

this is a tableless site if that matters

Busy's picture

He has: 6,151 posts

Joined: May 2001

try background: no-repeat

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

There is no choice for background: no-repeat; in Top Style.

I tried it and that didn't fix it.

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

Is it normal for background images to tile in Opera if the Zoom Value it set anywhere below 100%? It doesn't tile if it is set at 100%.

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

Have you got the example for us to look at?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

It's background-repeat: no-repeat;

Put the whole thing together...

background: url(whatever.jpg) #hexhex no-repeat;

Smiling S

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.