[英]Design a style for I.E using CSS?
我有以下兩個圖像。
Google Chorome
IE瀏覽器
您可以輕松地看到兩者的設計差異。
以下是到目前為止CSS中的內容
<style type="text/css">
.main-container
{
float:left; margin-left:50px; width:100%;
}
</style>
<!--[if gte IE 6]>
<style type="text/css">
.main-container
{
float:left; margin-left:50px; width:100%;
}
</style>
<![endif]-->
請幫助我在兩個瀏覽器中進行相似或相似的設計。 謝謝
像這樣,請刪除選擇器下面的px
<!--[if gte IE 6]>
<style type="text/css">
.main-container
{
float:left; margin-left:50px; width:100%;
}
</style>
<![endif]-->
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.