#author("2024-09-13T00:18:52+09:00","default:massy","massy")
#author("2024-09-13T00:19:16+09:00","default:massy","massy")
*wikiの幅を変更したい [#xde777f1]
** スタイルシートで変更 [#e46d4bf0]
RIGHT:&counter;

&color(black,){#html{{};
&color(black,){<style type="text/css">};
&color(black,){<!--};
&color(black,){body {};
&color(black,){   width:800px;};  ←幅を設定
&color(black,){   margin: 0 auto;}; →中央寄せ
&color(black,){}};
&color(black,){-->};
&color(black,){</style>};
&color(black,){}}};


** pukiwiki.cssで変更 [#x1b1ae3a]

&color(black,){body,td {};
&color(black,){  color:black;};
&color(black,){  background-color:white;};
&color(black,){  margin-left:2%;};
&color(black,){  margin-right:2%;};
&color(black,){  font-size:90%;};
&color(black,){  font-family:verdana, arial, helvetica, Sans-Serif;};
&color(black,){}};
 
 ↓
 
&color(black,){body {};
&color(black,){  width:800px;};
&color(black,){  margin: 0 auto;};
&color(black,){  color:black;};
&color(black,){  background-color:white;};
%%%%%&color(black,){  margin-left:2%;};%%%%% ← margin: 0 auto;と競合するのでトル
%%%%%&color(black,){  margin-right:2%;};%%%%% ← margin: 0 auto;と競合するのでトル
&color(black,){  font-size:90%;};
&color(black,){  font-family:verdana, arial, helvetica, Sans-Serif;};
&color(black,){}};
&color(black,){td {};
&color(black,){  color:black;};
&color(black,){  background-color:white;};
&color(black,){  margin-left:2%;};
&color(black,){  margin-right:2%;};
&color(black,){  font-size:90%;};
&color(black,){  font-family:verdana, arial, helvetica, Sans-Serif;};
&color(black,){}};


:RETVAL|https://retval.jp/blog/css-margin-0-auto/

***pukiwiki.skin.php [#o758617b]

&color(black,){};

&color(black,){ <?php echo $head_tag ?>};
&color(black,){ </head>};
&color(black,){ <body>};
&color(black,){ <table border="0" width="750" align=center bgcolor="#ffffff"><tr><td>←widthを変更};
&color(black,){ <?php echo $html_scripting_data ?>};
&color(black,){ <div id="header">};
&color(black,){ <!-- ヘッドのマークとタイトルを非表示};
&color(black,){};




トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS