Hi!
I want to position an anchor in the lower right corner of a container div. It looks nice in FF2.0.0.6/Win and IE7/Win. But in IE6SP2/Win the link is not positioned correctly (it is not visible at all).
I'm still developing locally so I can't give you an URL but here is a test which repeats the problem partially. The link is visible but has a strange offset. Please see attached images.
Any suggestions?
Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>Test</title> <style type="text/css"> body { position : relative; width : 600px; margin-left : auto; margin-right : auto; margin-top : 50px; border : 1px solid rgb(100,100,100); padding : 20px; } #msg { position : relative; border : 1px solid rgb(100,100,100); background : rgb(240,240,240); margin-top : 10px; margin-left : auto; margin-right : auto; padding : 5px; } #msg p { padding : 5px 20px 20px 20px; } #msg a { position : absolute; right : 5px; bottom : 5px; } </style> </head> <body> <div id="msg"> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Pellentesque vitae eros vel libero sollicitudin accumsan. Nam ornare, pede in faucibus pulvinar, est sem ornare ante, ac fermentum magna dui non dui. Aliquam erat volutpat. In hac habitasse platea dictumst. Aliquam interdum, purus at elementum semper, odio mi ultricies augue, ac ullamcorper risus lacus at tortor.</p> <a href="#">Link</a> </div> </body> </html>







Bookmarks