IE6でもmin-width、min-height

  • 投稿日 : 2008-04-18, 12:38
  • 最終更新日時 : 2011-08-02 10:54:18(履歴)
  • タグ(
  • カテゴリ(Design
  • 記し人(luvsic[PDF]
  • 閲覧数(9426)

しょっちゅう思い出せない。
記録用



/* min-height */

.foo {
min-height: 90px;
height: auto !important;
height: 90px;
}

/* min-width */

.bar {
min-width: 90px;
width: auto !important;
width: 90px;
}
 

max-widthも可能の様子。
IE6でもCSSのみでmax-widthを実現する

Skooler Records

No comments yet

%3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%22%20%76%61%6c%75%65%3d%22%32%36%35%37%65%38%65%61%30%62%32%36%65%33%62%62%36%35%32%65%65%38%34%32%66%63%33%37%65%30%35%39%22%3e %3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%5f%68%61%73%68%22%20%76%61%6c%75%65%3d%22%34%65%39%61%34%37%39%33%63%31%64%66%63%39%63%66%38%30%61%32%66%62%37%61%35%62%37%39%37%36%66%34%22%3e
© 2006 – 2024 by Luvsic. Some rights reserved.