I solved the problem.
I just put div instead of span and now is working.
P.S. link is not valid anymore.
Best Regards.
Main Topics
Browse All TopicsHi to all!
this code works fine with IE 6 and mozilla, but doesn't work with Opera 9.0
[code]
<style>
a.screen, a.screen:visited {
color:#000000;
position:relative;
z-index:1;
}
a.screen b {
visibility:hidden;
position:absolute;
width:0; /* make the image zero size */
height:0; /* for Opera bug */
left:0px; /* position:the image */
top:0;
border:0; /* with no border */
}
a.screen:hover {
color:#000000;
text-decoration:none;
border:0; /* needed for this to work in IE */
z-index:1000;
}
a.screen:hover b {
visibility:visible; /* make the image visible */
border:1px solid #000000; /* add a border */
cursor:pointer; /* for IE */
}
</style>
<span bgcolor="#F69D9D" class="txt1"><?php if ($pampotezi1 != '') echo "<a class=\"screen\" href=\"#\" onClick=\"Start(-1, 5, '');\">Game saved ".$pamdatum1."<b><img src=\"slika.php?fen=".$fen
<br>
<span bgcolor="#F69D9D" class="txt1"><?php if ($pampotezi2 != '') echo "<a class=\"screen\" href=\"#\" onClick=\"Start(-1, 5, '');\">Game saved ".$pamdatum2."<b><img src=\"slika.php?fen=".$fen
<br>
<span bgcolor="#F69D9D" class="txt1"><?php if ($pampotezi3 != '') echo "<a class=\"screen\" href=\"#\" onClick=\"Start(-1, 5, '');\">Game saved ".$pamdatum3."<b><img src=\"slika.php?fen=".$fen
<br>
<span bgcolor="#F69D9D" class="txt1"><?php if ($pampotezi4 != '') echo "<a class=\"screen\" href=\"#\" onClick=\"Start(-1, 5, '');\">Game saved ".$pamdatum4."<b><img src=\"slika.php?fen=".$fen
<br>
<span bgcolor="#F69D9D" class="txt1"><?php if ($pampotezi5 != '') echo "<a class=\"screen\" href=\"#\" onClick=\"Start(-1, 5, '');\">Game saved ".$pamdatum5."<b><img src=\"slika.php?fen=".$fen
[/code]
you can go and check:
http://www.gensunasumus.co
Opera shows only one part of image.
Can someone tell me what I'm doing wrong.
Best Regards and thankx in advance.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: GrandSchtroumpfPosted on 2006-08-07 at 14:34:40ID: 17267222
I don't think you are doing anything wrong...
It looks like Opera does not repaint the screen area correctly.
Open 2 tabs in Opera, one with your page and another one with anything you want.
Then mouse over your link to pop up an image that does not display correctly.
Now use ctrl+tab to switch to the next tab (without moving your mouse) and use ctrl+tab again to switch back to your page.
The image should display fine...
Now move your mouse away from the link and you'll see a portion of the image that remains painted on the screen.
That portion exactly corresponds to the part of the image that did not display before the ctrl+tab.
This proves it's a repaint bug.
I tried different code combinations but could not find anything that makes it work...