Jump to content
  • 0

width для IE6, IE7 и FF


KottCoos
 Share

Question

12 answers to this question

Recommended Posts

  • 0
В ие6 будет 60px, поскольку он не понимает !important и использует более позднее объявление. В ие7 и фаерфокс будет 100px.

Доверяй, но проверяй - ие6 понимает !important. Так что вопрос остается открытым :|

Link to comment
Share on other sites

  • 0
Еще как работает. Проверяем.

#element {
width: 100px !important;
}
#element {
width: 60px;
}

+1!

Для тех, кто не понял:

/* Вот так не работает */
#element {
width: 100px !important;
width: 60px;
}

/* А вот так работает */
#element {
width: 100px !important;
}
#element {
width: 60px;
}

Link to comment
Share on other sites

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