Opera and CSS Body Margins

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pixels226
Beginner
Beginner
Posts: 2
Joined: Thu Mar 31, 2005 4:58 pm

Opera and CSS Body Margins

Post by pixels226 »

Hi, I have searched for days and have found others with the same problem but I just can't seem to get a handle on how to fix this problem.

I am using css to control and center the body background image-
margin:0px auto 0px auto;

The menu(s) (have tried every menu available) and css works great in every browser EXCEPT Opera 7.54. Opera displays the submenus under the next link approximately 20 or so pixels. I know the problem relates to the "auto" margins so I either find another menu, remove the background image or forget Opera and hope for no Opera visitors. :cry:

I don't have the page uploaded and was hoping there might be a "quick" fix.

Thanks!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Well, a test page would be most helpful. For example, if you are putting the menus in a table and haven't done that exactly as directed that could cause problems with where submenus end up opening. And, without seeing a page, with the menu and the css file, even though it works in all other browsers we can't figure out just what might be a fix, not being able to play with the css code, or the menu_data.js file. There are so many minor things that could be the cause.

If you can possibly put up a test page it would be the best. If not, you need to post your html page code, your css stylesheet code, the menu_data.js code here. Make sure you use the code button above to open and close the pasted code. With this we can try and make a page and see what's going on.

Ruth
pixels226
Beginner
Beginner
Posts: 2
Joined: Thu Mar 31, 2005 4:58 pm

Post by pixels226 »

Thanks for taking the time to reply, Ruth. I finally figured out the problem after working on it all day.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

You're welcome pixels. What was the problem, if you don't mind saying?

Ruth
Post Reply