0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【HTML/CSS】右側に余白ができている

Posted at

#◇本日の困ったこと#

・「発覚の経緯」と「エラー内容」
HTML/CSSにて実装後、ローカルブラウザにて確認すると、右側に余白ができてる、、、、

#◇解決#
bodyの中身をすべてwrapで囲み、CSSにてwrapにoverflow: hidden;を記述でかいけつ!!

html
<div class="wrap">
  〜元々の記述してあるのを囲むだけ〜
<!-- /.wrap --></div>
css
.wrap {
	overflow: hidden;
}

#参考にしたもの#
とても助かりました!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?