Keeping bg images from repeating in Opera/Netscape
I have a background image I am wanting to use as the background in my menu, and it looks fine in IE (go figure) but the image wants to repeat in Nescape and Opera. I even tried controlling it with CSS as a NO-repeat image, but it still does. Does Opera require a certain code?
EDIT- I believe actually it is just netscape for the repeating background image, however, the text is larger in Opera and hence goes beyond the limits I wanted.
You can view the site here
http://homepages.evansville.edu/bk38/ssgb/index.htm
Thanks
Bryan
Busy posted this at 20:46 — 27th December 2002.
He has: 6,151 posts
Joined: May 2001
The link wont work for me
when you say your wanting it as a menu background, is the menu in a table, a div, a layer or something else?
how did you do the css no-repeat code?
jag5311 posted this at 21:10 — 27th December 2002.
They have: 202 posts
Joined: Jan 2002
hmmm. maybe my school server doesn't allow certain connections
The menu is in a table, with about 10 rows, but I have a background image set for the table. I just made a style that is called .menubg here is the code
.menubg {
background-image: url(images2/ssgbnew_r3_c1.jpg);
background-repeat: no-repeat;
background-position: left top;
Renegade posted this at 04:48 — 28th December 2002.
He has: 3,022 posts
Joined: Oct 2002
Where's your closing "}"?
jag5311 posted this at 05:31 — 28th December 2002.
They have: 202 posts
Joined: Jan 2002
oh, that was just chunk of the code, I wasn't giving the full thing, I was just showing you where the no-repeat thing was.
Renegade posted this at 07:47 — 28th December 2002.
He has: 3,022 posts
Joined: Oct 2002
what about:
background-position: top left;
-remember, top to bottom, left to right,
Busy posted this at 21:21 — 28th December 2002.
He has: 6,151 posts
Joined: May 2001
try pixels for the position
background-position: 10% 10%;
or whatever you have your margins to, if you want zero, just use 0 0
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.