14th Sat
[Spring Roo]横幅の変更
Rooではデフォルトの横幅が800pxになっていますが、表示項目数が多い場合や文字数が多い場合は、もっと横幅を広げたいと思うときがあります。そういう場合は standard.css の下記項目を変更することで広げることが出来ます。
css>>
#wrapper {
width:800px;
min-width: 800px;
max-width: 800px;
margin-right: auto;
margin-left: auto;
/* fix max-width incompatibility in IE6 */
width:expression(document.body.clientWidth > 800? "800px": "auto" );
overflow:hidden;
display:block;
}
<<--
上記で800となっているところを例えば900に変更することで、横幅を900pxに変更できます。
posted by
akanuma on Sat 14 Jan 2012 at 09:48 with 0 comments