css, background image & opera
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 posted this at 22:13 — 9th October 2002.
He has: 6,151 posts
Joined: May 2001
try background: no-repeat
disaster-master posted this at 01:14 — 10th October 2002.
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 posted this at 01:45 — 10th October 2002.
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 posted this at 07:26 — 10th October 2002.
She has: 5,586 posts
Joined: Feb 2001
Have you got the example for us to look at?
Suzanne posted this at 04:03 — 16th October 2002.
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;
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.