私は次のコードを持っている:私は、ウィンドウのサイズを変更すると、コンテンツが国境の外にCSSレイアウト
body {
\t /* Background */
\t width: 900px;
\t height: 900px;
\t border: 1px solid black;
\t
\t /* Font */
\t font-family: "arial";
\t font-size: 12px;
\t color: #000000;
}
<!DOCTYPE html>
<html>
\t <head>
\t \t <link rel = "stylesheet" type = "text/css" href = "stylesheet.css">
\t \t <meta name = "author" content = "Afik Atashga" />
\t \t <meta name = "description" content = "Website" />
\t \t <meta name = "keywords" content = "Website, Afik Atashga" />
\t \t <meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8" />
\t \t <title>Website.</title>
\t </head>
\t <body>
\t \t Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text
\t \t Text Text Text Text Text Text Text Text
\t </body>
</html>
/* HTML Tags */
html {
\t direction: ltr;
\t background-color: #ededed;
\t width: 100%;
\t height: 100%;
}
です。 国境を越えないように、相対的な変更をどのように保つことができますか?
セット高さ:自動。 –
@IvinRaj –