IE6でもmin-width、min-height

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

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



/* 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%64%31%37%35%30%38%65%62%32%35%63%38%64%61%34%65%35%63%38%31%35%33%35%30%31%62%37%34%37%66%35%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%36%65%66%31%31%33%63%32%66%30%35%39%38%35%64%65%36%31%33%62%34%38%32%66%66%31%33%39%32%63%36%66%22%3e
© 2006 – 2014 by Luvsic. Some rights reserved.