table_edit2.inc.php
ちょっと遊んでみた。
0
1
2
3
4
5
6
| $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%;){{{
styleのオプションを指定してスタイルシートを利用できます。 |
スタイルはテーブルタグを囲む<div>タグに適用されます。 |
- ちなみにcssでfloatを指定した時は最後に#clearプラグインの記述を忘れずに