Home>

I'm sorry for rudimentary questions.
When creating a responsive site

@media screen and (max-width: 750px) {}

After writing something like

, when you reduce the browser size (or browse the site on a smartphone), you can scroll to the right like an image.

Are there any solutions?

I added a code for practice.

<DOCTYPE html>
<html lang = "en">
<head>
    <meta charset = "UTF-8">
    <title>Practice</title>
    <link rel = "stylesheet" href = "css/reset.css">
    <link rel = "stylesheet" href = "css/slicknav.min.css">
    <link rel = "stylesheet" href = "https://use.fontawesome.com/releases/v5.6.4/css/all.css">
    <link rel = "stylesheet" href = "css/style.css">
    <meta name = "viewport" content = "width = device-width, initial-scale = 1.0">
</head>
<body>
    <header>
          
    </header>
    <nav>
        <ul>
            <li>Top</li>
            <li>Introduction</li>
            <li>Menu</li>
            <li>Contact</li>
        </ul>
    </nav>
    
         Oh ah 
    </article>
    
         Good 
        
        
    </aside>
    <footer>
        <p>UuUu</p>
    </footer>
    <script src = "js/jquery-3.4.1.min.js"></script>
    <script src = "js/jquery.slicknav.min.js"></script>
    <script src = "js/script.js"></script>
</body>
</html>
</DOCTYPE>
@ charset "utf-8";
body {
    background-color: white;
    width: 960px;
    margin: 0 auto 0 auto;
}
/* header */
header {
    width: 960px;
    background-color: antiquewhite;
}
header img {
}
@media screen and (max-width: 750px) {
    header img {
        width: 0;
        height: 0;
    }
}
/ * Set navigation area * /
nav {
    text-align: center;
    width: 960px;
    background-color: azure;
}
nav ul li {
    list-style: none;
    display: inline-block;
}
nav ul li a {
    text-align: center;
    text-decoration: none;
    width: 130px;
    line-height: 70px;
    overflow: hidden;
    font-size: 24px;
    font-weight: bold;
    color: black;
    background-color: aqua;
}
#menu {
    display: none;
}
nav ul li a: hover {
    background-color: black;
    color: white;
}
@media screen and (min-width: 750px) {
    #menu {
        display: block;
    }
    .slicknav_menu {
        display: none;
    }
}
.slicknav_menu: before {
    width: 180px;
    height: 50px;
    float: left;
    background-image:;
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 100%;
    content: "";
    margin: 0 0 0 19px;
}
.slicknav_menu {
    width: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10000;
    background-color: # 280000;
}
/* Text */
article {
    width: 760px;
    background-color: beige;
    padding: 0 0 1000px 0;
    float: left;
}
article h1 {
    font-size: 100px;
}
@media screen and (max-width: 750px) {
    article {
        width: 100%;
        margin: 60px 0 0 0;
    }
}
/ * aside * /
aside {
    width: 200px;
    background-color: blanchedalmond;
    margin: 0;
    float: right;
}
aside img {
    display: inline-block;
    width: 200px;
}
@media screen and (max-width: 750px) {
    aside {
        width: 100%;
    }
    aside img {
        width: 27%;
}
/ * footer * /
footer {
    clear: both;
    width: 960px;
    background-color: chartreuse;
}
footer p {
    font-size: 30px;
}