• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

 一つ前のエントリ([Spring Roo]横幅の変更)で横幅を変更する方法を書きましたが、それでも対応しきれない場合は、コンテンツエリアにスクロールバーが表示されるようにする方法が考えられます。

 standard.css に下記を追加することで、コンテンツエリアにスクロールバーが表示されるようになります。

   1  .dijitTitlePaneContentInner {
   2      overflow: scroll;
   3  }

posted by Png akanuma on Sat 14 Jan 2012 at 09:58

 Rooではデフォルトの横幅が800pxになっていますが、表示項目数が多い場合や文字数が多い場合は、もっと横幅を広げたいと思うときがあります。そういう場合は standard.css の下記項目を変更することで広げることが出来ます。

   1  #wrapper {
   2  	width:800px;
   3  	min-width: 800px;
   4  	max-width: 800px;
   5  	margin-right: auto;
   6  	margin-left: auto;
   7  
   8  	/* fix max-width incompatibility in IE6 */
   9  	width:expression(document.body.clientWidth > 800? "800px": "auto" );
  10  	
  11  	overflow:hidden;
  12  	display:block;
  13  }

 上記で800となっているところを例えば900に変更することで、横幅を900pxに変更できます。

posted by Png akanuma on Sat 14 Jan 2012 at 09:48
Contents
[Spring Roo]コンテンツエリアにスクロールバーを表示する
[Spring Roo]横幅の変更
Comments
yoku0825: nkfの方が使いやすいですが、glibcに含まれているiconvの方が 確実にどの環境にも入っ... '12-6
Hiroaki Akanuma: ご指摘ありがとうございます。「嗜好度は大きい値がより嗜好度が強いことを意味すればどのような値で... '11-11
akr: 初めての推薦エンジンのところ 「属性データはどんなものでも可能。」 は preference ... '11-11
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ