Html 引导程序未显示全高列

Html 引导程序未显示全高列,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,如果这是一个太多的新手问题,或者不是正确类型的问题,请原谅。我正处于学习如何编程的开始阶段,我的首要任务之一就是让注释编辑器正常工作 我使用引导创建列;也就是说,右边的列(sceen的1/12)包含不同的颜色,另一个11/12列包含整个注释编辑器(图片等)。这一切都很好,除了我右边的专栏不起作用或不显示 我想我很确定我关闭了前11个部分的列,但是试图用1列创建另一个div根本不起作用;因此,我不能把任何东西放进去,也不能把我的颜色放进去 HTML语法如下所示: <!DOCTYPE html

如果这是一个太多的新手问题,或者不是正确类型的问题,请原谅。我正处于学习如何编程的开始阶段,我的首要任务之一就是让注释编辑器正常工作

我使用引导创建列;也就是说,右边的列(sceen的1/12)包含不同的颜色,另一个11/12列包含整个注释编辑器(图片等)。这一切都很好,除了我右边的专栏不起作用或不显示

我想我很确定我关闭了前11个部分的列,但是试图用1列创建另一个div根本不起作用;因此,我不能把任何东西放进去,也不能把我的颜色放进去

HTML语法如下所示:

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="2048_MMA/style/bootstrap.min.css" type ="text/css">
<link rel="stylesheet" href="css/clouds.css" type="text/css">
<link rel="stylesheet" href="css/background.css" type="text/css">
<link rel="stylesheet" type="text/css" href="css/dropdownmenu.css"/>
<style>
body{
background: #c9dbe9;
background: -webkit-linear-gradient(top, #c9dbe9 0%, #fff 100%);
background: -linear-gradient(top, #c9dbe9 0%, #fff 100%);
background: -moz-linear-gradient(top, #c9dbe9 0%, #fff 100%);
padding-bottom: 500px;
}
iframe {
height: 670px;
width: 1200px;
margin-left:25%;
}
</style>
</head>

<body onload="init()">
    <nav class="nav">
        <ul>
            <li>
                <a href="portfolio_index.html">Home</a>
            </li>
            <li>
                <a href="#">Applications</a>
                <ul>
                    <li><a href="mediaviewer.html">Mediaviewer</a></li>
                    <li><a href="annotation editor.html">Annotation editor</a></li>
                    <li><a href="2048_MMA/portfolio_2048_water.html">2048</a></li>
                </ul>
            </li>
            <li>
                <a href="#">Essays</a>
                <ul>
                    <li><a href="#">Essay Lea</a></li>
                    <li><a href="#">Essay Jonathan</a></li>
                    <li><a href="#">Essay Jelmer</a></li>
                </ul>
            </li>
        </ul>
    </nav>

    <div class="container-fluid">
        <div class="row">
            <div class="col-md-11">
                <script type="text/javascript">
                    var canvas, ctx, flag = false,
                            prevX = 0,
                            currX = 0,
                            prevY = 0,
                            currY = 0,
                            dot_flag = false;

                    var x = "black",
                            y = 2;

                    function init() {
                        canvas = document.getElementById('can');
                        ctx = canvas.getContext("2d");
                        w = canvas.width;
                        h = canvas.height;

                        canvas.addEventListener("mousemove", function(e) {
                            findxy('move', e)
                        }, false);
                        canvas.addEventListener("mousedown", function(e) {
                            findxy('down', e)
                        }, false);
                        canvas.addEventListener("mouseup", function(e) {
                            findxy('up', e)
                        }, false);
                        canvas.addEventListener("mouseout", function(e) {
                            findxy('out', e)
                        }, false);
                    }

                    function color(obj) {
                        switch (obj.id) {
                            case "green":
                                x = "green";
                                break;
                            case "blue":
                                x = "blue";
                                break;
                            case "red":
                                x = "red";
                                break;
                            case "yellow":
                                x = "yellow";
                                break;
                            case "orange":
                                x = "orange";
                                break;
                            case "black":
                                x = "black";
                                break;
                            case "purple":
                                x = "purple";
                                break;
                            case "grey":
                                x = "grey";
                                break;
                        }
                        if (x == "white")
                            y = 14;
                        else
                            y = 2;

                    }

                    function draw() {
                        ctx.beginPath();
                        ctx.moveTo(prevX, prevY);
                        ctx.lineTo(currX, currY);
                        ctx.strokeStyle = x;
                        ctx.lineWidth = y;
                        ctx.stroke();
                        ctx.closePath();
                    }

                    function erase() {
                        var m = confirm("Verwijder je kunstwerk?");
                        if (m) {
                            ctx.clearRect(0, 0, w, h);
                            document.getElementById("canvasimg").style.display = "none";
                        }
                    }
                    function findxy(res, e) {
                        if (res == 'down') {
                            prevX = currX;
                            prevY = currY;
                            currX = e.clientX - canvas.offsetLeft;
                            currY = e.clientY - canvas.offsetTop;

                            flag = true;
                            dot_flag = true;
                            if (dot_flag) {
                                ctx.beginPath();
                                ctx.fillStyle = x;
                                ctx.fillRect(currX, currY, 2, 2);
                                ctx.closePath();
                                dot_flag = false;
                            }
                        }
                        if (res == 'up' || res == "out") {
                            flag = false;
                        }
                        if (res == 'move') {
                            if (flag) {
                                prevX = currX;
                                prevY = currY;
                                currX = e.clientX - canvas.offsetLeft;
                                currY = e.clientY - canvas.offsetTop;
                                draw();
                            }
                        }
                    }
                </script>
                <iframe src="mediaviewer2.html"></iframe>
                <canvas id="can" width="1080%" height="610%" style="position:absolute;top:0.5%;left:29%;border:5px solid;"></canvas>
                <img id="canvasimg" style="position:absolute;top:30%;left:54%;">
                <input type="button" value="Reset" id="clr" size="23" onclick="erase()" style="position:absolute;top:15%;left:55%;height:40px;width:50px;">
            </div> <!--end column--->

            <div class="col-md-1">
                <div style="position:absolute;top:%;left:50%;">Kies een kleurtje!</div>
                <div style="position:absolute;top:15%;left:50%;width:15px;height:15px;background:green;" id="green" onclick="color(this)"></div>
                <div style="position:absolute;top:15%;left:51%;width:15px;height:15px;background:blue;" id="blue" onclick="color(this)"></div>
                <div style="position:absolute;top:15%;left:52%;width:15px;height:15px;background:red;" id="red" onclick="color(this)"></div>
                <div style="position:absolute;top:20%;left:50%;width:15px;height:15px;background:yellow;" id="yellow" onclick="color(this)"></div>
                <div style="position:absolute;top:20%;left:51%;width:15px;height:15px;background:orange;" id="orange" onclick="color(this)"></div>
                <div style="position:absolute;top:20%;left:52%;width:15px;height:15px;background:black;" id="black" onclick="color(this)"></div>
                <div style="position:absolute;top:20%;left:53%;width:15px;height:15px;background:purple;" id="purple" onclick="color(this)"></div>
                <div style="position:absolute;top:15%;left:53%;width:15px;height:15px;background:grey;" id="grey" onclick="color(this)"></div>
            </div>


            <div id="clouds">
                <div class="cloud x1"></div>
                <div class="cloud x2"></div>
                <div class="cloud x3"></div>
                <div class="cloud x4"></div>
                <div class="cloud x5"></div>
                <div class="cloud x6"></div>
                <div class="cloud x7"></div>
                <div class="cloud x8"></div>
                <div class="cloud x9"></div>
                <div class="cloud x10"></div>
                <div class="cloud x11"></div>
            </div> <!--end clouds-->
        </div><!--end row-->    
    </div><!--end container-->
</body>         
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="…"></iframe>
</div>

身体{
背景:c9dbe9;
背景:-webkit线性梯度(顶部,#c9dbe9 0%,#fff 100%);
背景:-线性梯度(顶部,c9dbe9 0%,fff 100%);
背景:-moz线性梯度(顶部,#c9dbe9 0%,#fff 100%);
填充底部:500px;
}
iframe{
高度:670px;
宽度:1200px;
左边缘:25%;
}
变量画布,ctx,标志=false, prevX=0, currX=0, prevY=0, 咖喱=0, dot_标志=假; var x=“黑色”, y=2; 函数init(){ canvas=document.getElementById('can'); ctx=canvas.getContext(“2d”); w=画布宽度; h=画布高度; canvas.addEventListener(“mousemove”,函数(e){ findxy('move',e) },假); canvas.addEventListener(“鼠标向下”,函数(e){ findxy('down',e) },假); canvas.addEventListener(“mouseup”,函数(e){ findxy('up',e) },假); canvas.addEventListener(“mouseout”,函数(e){ findxy('out',e) },假); } 功能颜色(obj){ 开关(对象id){ 案例“绿色”: x=“绿色”; 打破 案例“蓝色”: x=“蓝色”; 打破 案例“红色”: x=“红色”; 打破 案例“黄色”: x=“黄色”; 打破 案例“橙色”: x=“橙色”; 打破 案例“黑色”: x=“黑色”; 打破 案例“紫色”: x=“紫色”; 打破 案例“灰色”: x=“灰色”; 打破 } 如果(x=“白色”) y=14; 其他的 y=2; } 函数绘图(){ ctx.beginPath(); ctx.moveTo(prevX,prevY); ctx.lineTo(咖喱,咖喱); ctx.strokeStyle=x; ctx.lineWidth=y; ctx.stroke(); ctx.closePath(); } 函数擦除(){ var m=确认(“Verwijder je kunstwerk?”); 如果(m){ ctx.clearRect(0,0,w,h); document.getElementById(“canvasimg”).style.display=“无”; } } 函数findxy(res,e){ 如果(res=='down'){ prevX=currX; prevY=咖喱; currX=e.clientX-canvas.offsetLeft; currY=e.clientY-canvas.offsetTop; flag=true; dot_flag=true; if(dot_标志){ ctx.beginPath(); ctx.fillStyle=x; ctx.fillRect(currX,currY,2,2); ctx.closePath(); dot_标志=假; } } 如果(res==“向上”| res==“向外”){ flag=false; } 如果(res=='move'){ 国际单项体育联合会(旗){ prevX=currX; prevY=咖喱; currX=e.clientX-canvas.offsetLeft; 咖喱