2017-12-08 15 views
-1

イントラネット上の水平スクロールバーを削除しようとしています。ページの背景には何も背景がありません。私はこれを数時間にわたって苦労しています。ホームページにはCSSとHTMLがありますが、JavaScriptを使用して複数のページをナビゲートしています。すべてのページがCSSから設定を取り込み、すべてのページにこの問題があるため、CSSがあると信じています。以下は私のCSSです。私が変更を加える必要があるかどうかを私に教えてください。CSSのページ幅の問題

あなたのHTML内
html, body { 
    position: absolute; 
    height: 100%; 
    background-color: #FFEBD6; 
    color: #665E56; 
} 
header { 
    text-align:center; 
    width: 600px; 
} 
nav { 
    line-height:20px; 
    width:180px; 
    float:left; 
    padding:5px; 
    height: 40%; 
} 
section { 
    position: Absolute; 
    top: 260px; 
    left: 10px; 
    background-color:#fff3e5; 
    padding:10px; 
    border:1px solid #665E56; 
    min-height:350px; 
} 
footer { 
    clear:both; 
    text-align:center; 
    padding:7px; 
} 
table { 
    text-align:center; 
    border:1; 
} 
th, td { 
    padding:10px; 
} 
.indent80 { 
    margin-left: 80px; 
} 
.indented { 
    margin-left: 80px; 
} 
.indent40 { 
    margin-left: 40px; 
} 
.wrapper { 
    position:absolute; 
    min-height: 100%; 
    height: 100%; 
    width:500px;  
} 

/*.push-footer, .push { */ 
/* height: 50px; /* .push must be the same height as .footer */  
/*} */ 
#quicklinks { 
    padding-left:5px; 
    position: absolute; 
    left:181px; 
    float:left; 
    text-align:center; 
    border:3px raised; 
    padding:10px; 
    width:90%; 
} 
+2

[mcve]を入力してください。 –

+1

html、body {position:absolute; } ??? - 本当に? – Johannes

+0

あなたはあなたのHTMLコードを投稿する必要がありますが、CSSだけでは何も使用されません – Johannes

答えて

-1

、本体部がwidth: 100%;

0

うわを追加....私は時々のWebブラウザを嫌い....私はページを更新するだろう変更になるだろうが、どうやら私はまた、必要な場合にはキャッシュをクリアします。

[Ctrl]キーを押しながら[Refresh]ボタンを右クリックし、[Empty Cache and Hard Reload]を選択してキャッシュをクリアしました。下のリンク。

https://www.getfilecloud.com/blog/2015/03/tech-tip-how-to-do-hard-refresh-in-browsers/#.Wi64fmiPKUl

はあなたの助けありがとうございました!