***table_edit2.inc.php [#k37ea599]
ちょっと遊んでみた。
#expand(450){{{
#code{{
$body = convert_html($body);
$body = $head_button . $body;
if (isset($opt['style'])){
return preg_replace('/<div class="ie5"/', '<div style="' . $opt['style'] . '" class="ie5"', $body);
} else {
return $body;
}
}
}}
}}}
#table_edit2(style=float:left;border:2px dotted #233;width:45%;){{{
#table_edit2(style=float:left;border:2px dotted #233;width:45%;,table_mod=close){{{
|styleのオプションを指定してスタイルシートを利用できます。|
|スタイルはテーブルタグを囲む<div>タグに適用されます。|
}}}
#clear
-ちなみにcssでfloatを指定した時は最後に#clearプラグインの記述を忘れずに