Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/74.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 网站被破坏时,重新调整大小_Html_Css - Fatal编程技术网

Html 网站被破坏时,重新调整大小

Html 网站被破坏时,重新调整大小,html,css,Html,Css,所以,在我的网站上工作了一整天之后,我发现它基本上只在我1920*1080的电脑上兼容 我想我会以某种方式将对象粘贴到网站的x个区域,但我不知道如何 我知道这不是一个直接的问题,但你能告诉我是什么原因导致我的网站在调整大小时出现故障吗?这是整个JSFIDLE网站 以下是HTML代码: <!DOCTYPE HTML> <HTML> <head> <title>Heilsa</title> <

所以,在我的网站上工作了一整天之后,我发现它基本上只在我1920*1080的电脑上兼容

我想我会以某种方式将对象粘贴到网站的x个区域,但我不知道如何

我知道这不是一个直接的问题,但你能告诉我是什么原因导致我的网站在调整大小时出现故障吗?这是整个JSFIDLE网站

以下是HTML代码:

<!DOCTYPE HTML>
<HTML>

    <head>
        <title>Heilsa</title>
        <link type="text/css" href="stylesheet3.css" rel="stylesheet"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>

<body>
<div id="container">

<img id="bordi" src="heilsa2.png"/>
<div id="bigtext"><a href="heim.html">Heilsa</a></div>
    <div class="menu">
    <ul>
    <li><a href="heim.html">Heim</a></li> <span id="menubord">
    <li><a href="sida1.html">Hollt Mataræði</a></li>
    <li><a href="sida2.html">Reynslusögur</a></li> </span>
    </ul>
    </div>

    <div id="content">
        <div id="block">
        </div>
        <div id="meginmal">
        <h1>Fyrirsögn</h1>
        <p>ch-slahing thust get a proper bitch-slapping to stop making walls of text, but if you are weird then thaA wall of text is something thust get a proper bitch-slapping to stop making walls of text, but if you are weird then that doesn't apply to you. Walls of text are defeated by deleting them or splitting them into paragraphs. Or some othA wall of text is something thust get a proper bitch-slapping to stop making walls of text, but if you are weird then that doesn't apply to you. Walls of text are defeated by deleting them or splitting them into paragraphs. Or some othA wall of text is something thust get a proper bitch-slapping to stop making walls of text, but if you are weird then that doesn't apply to you. Walls of text are defeated by deleting them or splitting them into paragraphs. Or some otht doesn't apply to you. Walls of text are defeated by deleting them or splitting them into paragraphs. Or some otht doesn't apply to you. Walls of text are defeated by deleting them or splitting them into paragraphs. Or some othoesn't apply to you. Walls of text are defeated by deleting them or splitting them into paragraphs. Or some othsome other things that would work but will take hours to think of. People are considered a nuisance if they create walls of text. This might be the end. If you hope this is the end, I am not sure. But if I was not sure then I wouldn't be talking. I should know. Or should I? The best way to make a better and good wall of text is to copy and paste what you previously typed or write. Hey, that reminds me. Walls of text aren't always on the internet! They could be anywhere that is able to produce symbols. D'oh. A wall of text is something that is frowned upon in most, actually virtually all Internet societies, including forums, chat boards, and Uncyclopedia. You should not make walls of text because it can get you banned anywhere unless it is a place that encourages walls of text. I highly doubt any place does support something so irritating and annoying, but anything can exist, but not really because unless you are in heaven then that can happen. But no one actually knows that was just a hypothesis, a lame one that is. Actually not really lame. You can created a wall of text supporting site, but you would be hated if you do that, so do not. But you can if you like, but I discourage that. Now on to the actual information of walls of texts. The wall of text was invented when the Internet was invented, but actually it was slow at that time. So whenever it became fast. But there would need to be some free or not free community for people, and that community would be able to have walls of text. But that community probably wouldn't have actually invented the wall of text. So basically, no one except God and Al Gore knows when or where or how the wall of text existed/was invented. Noobs probably invented, but probably not. Who knows. Walls of texts are usually filled with a lot of useless information and junk. Information and junk can be the same, but only if the information is junk or the junk is information.A wall of text is something thust get a proper bitch-slapping to stop making walls of text, but if you are weird then that doesn't apply to you. Walls of text are defeated by deleting them or splitting them into paragraphs. Or some other things that would work but will take hours to think of. People are considered a nuisance if they create walls of text. This might be the end. If you hope this is the end, I am not sure. But if I was not sure then I wouldn't be talking. I should know. Or should I? The best way to make a better and good wall of text is to copy and paste what you previously typed or write. Hey, that reminds me. Walls of text aren't always on the internet! They could be anywhere that is able to produce symbols. D'oh. A wall of text is something that is frowned upon in most, actually virtually all Internet societies, including forums, chat boards, and Uncyclopedia. You should not make walls of text because it can get you banned anywhere unless it is a place that encourages walls of text. I highly doubt any place does support something so irritating and annoying, but anything can exist, but not really because unless you are in heaven then that can happen. But no one actually knows that was just a hypothesis, a lame one that is. Actually not really lame. You can created a wall of text supporting site, but you would be hated if you do that, so do not. But you can if you like, but I discourage that. Now on to the actual information of walls of texts. The wall of text was invented when the Internet was invented, but actually it was slow at that time. So whenever it became fast. But there would need to be some free or not free community for people, and that community would be able to have walls of text. But that community probably wouldn't have actually invented the wall of text. So basically, no one except God and Al Gore knows when or where or how the wall of text existed/was invented. Noobs probably invented, but probably not. Who knows. Walls of texts are usually filled with a lot of useless information and junk. Information and junk can be the same, but only if the information is junk or the junk is information.
        </p>
        </div>      
    </div>

    <div class="push">
    </div>
    <div id="wrapper">
     <img id="undir" src="undir.png"/>
    </div>
</div>
</body>
</HTML>

你有很多左边距+位置:绝对值,打破了布局。不要使用绝对定位,试着使用页边距和浮动,甚至是浏览器在页面中显示元素的自然流动。

当你试图设计网站时,试着不要使用固定值,如X px,当X是大数字时,如宽度:800 px

例如,如果将内容更改为:

#content {
min-height:100%;
position: relative;
width: 800 px;
height: 800px;
margin-right:5%;
margin-left:5%;
padding:10px;
padding-bottom:60px;
/* Height of the footer */
}
我换衣服的地方

margin-right:5%;
margin-left:5%;
主要内容的可能性越来越大


尝试避免较大的固定值,将其更改为百分比值,或对齐:左;,等等

谢谢大家。开发人员何时使用边距和填充,以及如何确保他们不会以其他分辨率破坏他们的网页?编辑:我注意到我的问题被否决了,就像我在这个板上的所有问题一样。我得问问,这个网站上的人到底怎么了?
margin-right:5%;
margin-left:5%;