<!DOCTYPE html>
<
html
>
<
head
>
<
meta
charset
=
"utf-8"
>
<
meta
name
=
"viewport"
content
=
"width=device-width, initial-scale=1"
>
</
head
>
<
style
>
body {
/* disabling body scrolling */
overflow: hidden;
margin: auto;
background: white;
margin-top: 4%;
text-align: center;
}
h1 {
color: Green;
}
.scroll {
/* enable div scrolling */
overflow: scroll;
height: 8%;
background-color: aqua;
border: 1px black solid;
padding: 2%;
width: 300px;
margin: 0 auto;
white-space: nowrap;
font-size: large;
}
</
style
>
<
body
>
<
h1
>GeeksforGeeks</
h1
>
<
h2
>
Making content area scrollable
instead of the page
</
h2
>
<
div
class
=
"scroll"
>
It is a good platform to learn programming.
It is an educational website. Prepare for
the Recruitment drive of product based
companies like Microsoft, Amazon, Adobe etc
with a free online placement preparation
course. The course focuses on various MCQ
& Coding question likely to be asked in the
interviews & make your upcoming placement
season efficient and successful. Also, any
geeks can help other geeks by writing
articles on the GeeksforGeeks, publishing
articles follow few steps that are<
br
>
Articles that need little modification or
improvement from reviewers are published
first. To quickly get your articles reviewed,
please refer existing articles, their
formatting style, coding style, and try to
make you are close to them. In case you are
a beginner, you may refer Guidelines to write
an Article. It is a good platform to learn
programming. It is an educational website.
Prepare for the Recruitment drive of product
based companies like Microsoft, Amazon, Adobe
etc with<
br
> a free online placement preparation
course. The course focuses on various MCQ's &
Coding question likely to be asked in the
interviews & make your upcoming placement
season efficient and successful. Also, any
geeks can help other geeks by<
br
> writing
articles on the GeeksforGeeks, publishing
articles follow few steps that are Articles
that need little modification or improvement
from reviewers are published first. To quickly
get your articles reviewed, please refer
existing articles, their formatting style,
coding style, and try to make you are close
to them. In case you are a beginner, you may
refer Guidelines to write an Article.
</
div
>
</
body
>
</
html
>