Jump to content
  • 0

контент исчезает, выходя за рамки блока в IE6


Mutant
 Share

Question

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
.img_30 {float:left; width:34px; height:34px; border-top:0 none; border-bottom:0 none; border-left:1px solid #e5e5e5; border-right:1px solid #e5e5e5;}
.img_30 img {margin:-1px 0 0 0; _margin:-1px 0 -5px 0!important; padding:2px; border-top:1px solid #e5e5e5; border-bottom:1px solid #e5e5e5;}
</style>
</head>

<body>

<div class="img_30">
<img src="images/man_30.gif" />
</div>


</body>
</html>

У самого блока img_30 и у его потомков обязательно должно быть position:static;

цель: сделать эффект скругления за счет пустых уголков в рамке.

Открыв код в FF3, можно посмотреть необходимый результат

Link to comment
Share on other sites

4 answers to this question

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy