joquius Posted August 4, 2006 Share Posted August 4, 2006 Being a bit lazy with this, but I have the following issue.Here's the code first:[code]div {position: absolute;left: 15px;top: 9px;font-size: 9pt;}div a {outline: 0;margin: 0;padding: 3px 10px 3px 10px;border: 1px solid #fcfcfc;background: transparent;}div a:hover {border: 1px solid #e0e0e9;color: #607090;background: #f0f3f9;}[/code]That's the css (removed classes), here's the html it's working with:<div><a href="?link">link< / a></div>Simple as anything. The problem is that it looks ok in firefox (get a box when hovering), but in IE6 I get this ugly cutoff box, which seems to have the side padding and border ok, but the top and bottom parts have been cut down to the "link" text.Any ideas? ???btw: haven't been here for a while, but the forum looks much better, good job. Quote Link to comment https://forums.phpfreaks.com/topic/16542-border-cutoff-in-ie6/ Share on other sites More sharing options...
nogray Posted August 4, 2006 Share Posted August 4, 2006 pretty wired, you can just add some padding to the top and bottom in the div[code]padding-top:4px;padding-bottom:4px;[/code] Quote Link to comment https://forums.phpfreaks.com/topic/16542-border-cutoff-in-ie6/#findComment-69282 Share on other sites More sharing options...
joquius Posted August 5, 2006 Author Share Posted August 5, 2006 cheers ;)That actually works. Quote Link to comment https://forums.phpfreaks.com/topic/16542-border-cutoff-in-ie6/#findComment-69585 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.