<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>MovableType デフォルトCSS研究</title>
    <link rel="alternate" type="text/html" href="http://www.y-iweb.com/test/" />
    <link rel="self" type="application/atom+xml" href="http://www.y-iweb.com/test/atom.xml" />
   <id>tag:www.y-iweb.com,2006:/test//6</id>
    <link rel="service.post" type="application/atom+xml" href="http://www.y-iweb.com/mtcms/mt-atom.cgi/weblog/blog_id=6" title="MovableType デフォルトCSS研究" />
    <updated>2006-01-08T17:59:46Z</updated>
    <subtitle>MovableType デフォルトCSSの研究、テストサイト。</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type  3.2-ja</generator>
 
<entry>
    <title>WinIE5x対策で「w\idth」</title>
    <link rel="alternate" type="text/html" href="http://www.y-iweb.com/test/2006/01/winie5xwidth.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.y-iweb.com/mtcms/mt-atom.cgi/weblog/blog_id=6/entry_id=257" title="WinIE5x対策で「w\idth」" />
    <id>tag:www.y-iweb.com,2006:/test//6.257</id>
    
    <published>2006-01-08T17:16:12Z</published>
    <updated>2006-01-08T17:59:46Z</updated>
    
    <summary>WinIE5x対策で「w\idth」 Default MovableType3....</summary>
    <author>
        <name>y-iweb</name>
        
    </author>
            <category term="CSS" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.y-iweb.com/test/">
        <![CDATA[<a href="http://blog.y-iweb.com/archives/000258.html">WinIE5x対策で「w\idth」</a>

<a href="#" onclick="setActiveStyleSheet('Default'); return false;">Default</a>
MovableType3.2のデフォルトCSS

<blockquote>
.archive-header
{
   /* ie win (5, 5.5, 6) bugfix */
   p\osition: relative;
   width: 100%;
   w\idth: auto;

   margin: 0;
   border-left: 5px solid #36414d;
   padding: 5px;
   color: #fff;
   background: #a3b8cc;
   font-size: 11px;
   font-weight: bold;
   line-height: 1;
   text-transform: uppercase;
}</blockquote>]]>
        <![CDATA[<a href="#" onclick="setActiveStyleSheet('ie5x'); return false;">ie5x</a>
IE5対策してる部分を取ってみた。正直、よくわからん。レイアウトのタイプによっては「width:100%」がずれる場面があるんだろうか。

<blockquote>

.archive-header
{
   width: 100%
   margin: 0;
   border-left: 5px solid #36414d;
   padding: 5px;
   color: #fff;
   background: #a3b8cc;
   font-size: 11px;
   font-weight: bold;
   line-height: 1;
   text-transform: uppercase;
}</blockquote>]]>
    </content>
</entry>
<entry>
    <title>レイアウト用のfloat等をCSSでクリアするためのpkg</title>
    <link rel="alternate" type="text/html" href="http://www.y-iweb.com/test/2006/01/post.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.y-iweb.com/mtcms/mt-atom.cgi/weblog/blog_id=6/entry_id=254" title="レイアウト用のfloat等をCSSでクリアするためのpkg" />
    <id>tag:www.y-iweb.com,2006:/test//6.254</id>
    
    <published>2006-01-07T16:02:30Z</published>
    <updated>2006-01-08T06:49:51Z</updated>
    
    <summary>IE6配置ずれバグ対策:できる！CSSを使いこなす Default Movabl...</summary>
    <author>
        <name>y-iweb</name>
        
    </author>
            <category term="CSS" />
    
    <content type="html" xml:lang="ja" xml:base="http://www.y-iweb.com/test/">
        <![CDATA[<a href="http://blog.y-iweb.com/archives/000255.html">IE6配置ずれバグ対策:できる！CSSを使いこなす</a>

<a href="#" onclick="setActiveStyleSheet('Default'); return false;">Default</a>
MovableType3.2のデフォルトCSS

<blockquote>

/* .pkg class wraps enclosing block element around inner floated elements */

.pkg:after
{
   content: " ";
   display: block;
   visibility: hidden;
   clear: both;
   height: 0.1px;
   font-size: 0.1em;
   line-height: 0;
}
* html .pkg { display: inline-block; }
/* no ie mac \*/
* html .pkg { height: 1%; }
.pkg { display: block; }
/* */

</blockquote>]]>
        <![CDATA[<a href="#" onclick="setActiveStyleSheet('pkg'); return false;">pkg部分を修正</a>
.pkgでどんなハックを施しているか、わかりやすく色をつけたりしてみた。各ブラウザごとに確認してみて。

<blockquote>

/* .pkg class wraps enclosing block element around inner floated elements */
.pkg:after
{
   content: "hoge hoge hoge hoge";
}
* html .pkg { display: block;  background: #f00;}
/* no ie mac \*/
* html .pkg { height: 1%;   background: #0f0;}
.pkg { display: block; background: #00f;}
/* */

</blockquote>]]>
    </content>
</entry>

</feed> 

