problems with opera and css modification..i think...
Hi,
i'm using jquery for a website.
I need to set the absolute position of a div so i'm doing like this:
- $(document).ready(
- function(){
- $('.main_menu').css("position","absolute");
- $('.main_menu').css("top", ( $('.photo_container').height() - $('.main_menu').height() ) / 2 +50 + $('.photo_container').position().top);
- $('.main_menu').css("right", -25 + $('.photo_container').position().left);
- });
It works with chorme,firefox but not with Oepra....
Anyone can help me ?
Thanks,
Riccardo