1
こんにちは、ページを1つの上部(高さ50%、幅100%)と下部の2つの列(高さ50%、幅50%)に分割できます。 私が試みたが、何の成功は...htmlページを行と列に分割
<html>
<head>
<title>CSS devide window into three (horizontal, 2 vertical)</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<style type="text/css" media="screen">
.wrapM {
width: 100%;
height: 100%x;
padding:2px;
}
.wrapT {
width: 100%;
height: 50%;
padding:2px;
}
.wrapB {
width: 100%;
height: 50%;
padding:2px;
}
.wrapl {
width: 50%;
height: 100%;
padding:2px;
}
.wrapr {
width: 50%;
height: 100%;
padding:2px;
}
</style>
</head>
<body>
<div class="wrapM">
<div class="wrapT">Hello World This is upper Content</div>
</div>
<div class="wrapB">
<div class="wrapl">Hello World This is bottom LEFT Content</div>
<div class="wrapr">Hello World This is bottom right Content</div>
</div>
</body>
</html>
@ Joachim Schirrmacherトップ部分(.wrapT)をクリックしたいと思います。たとえば、.wraplのどのページでも開く必要があります。 .wraplまたは.wrapTをダブルクリックすると、新しいウィジェットにgoogleなどと呼ばれる他のページが開きます。何か案が? – Shahgee
'click'ハンドラをバインドします。しかし、別の質問を作成する必要があります。 –