簡單的布局,簡單布局
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>左右浮動</title>
<style type="text/css">
#nav{height:30px;border:1px solid red;}
#content{border:1px solid black;}
#footer{position:absolute;bottom:0px;height: 20px;border:1px solid red;width: 100%;}
</style>
</head>
<body>
<div id="nav">sdfs</div>
<div id="content">
<div>樣式:
用英語簡單介紹你房屋的布局
1 my room
Open the door,oh,the room is very beautiful!Whose room is this?It’s my room.
The bed is near the window.a quilt and a doll is on the bed.What color is my bed?It’s my favourite color—purple.It’s very dreamily color.the dresser is next to the bed.There are some books and a pen on the dresser.
I like watching TV.The TV is before the bed.I an lie to watch TV on the bed.I have a piano.The piano is near the TV set.Sometimes,I play the piano.And the computer is near the window.I often play the piano.
開啟門,噢,這房間多麼漂亮啊!這是誰的房間呢?這是我的房間。
床在窗的附近。一張被子和一個洋娃娃在床的上面。我的床是什麼顏色呢?是我最喜歡的顏色——紫色。這是多麼夢幻的顏色啊。梳妝台在床的旁邊。梳妝台上有一些書和一支鋼筆。
我喜歡看電視。電視機在床的前面。我可以躺在床上看電視。我有一個鋼琴。它在電視機的旁邊。我有時候會彈鋼琴。電腦在窗的附近。我經常彈鋼琴。
2
I have a small room of my own. The room is decorated with a lot of posters of teen idols. In front of the window there is a desk and a chair. I spend a lot of time in there on learning. I have a bookshelf in the corner. It's getting heavier month after month, because I like to buy books, some of them I haven't even read yet. And last but not least there is my comfortable bed in which I have spent more than one third of my lifetime. Anyway, I like my room. I prefer staying in it to going outside.
我有一間自己的小房間。這個房間被裝飾了許多青春偶像的海報。窗前有一張桌子和一張椅子。我花很多在那兒學習。牆角那兒我有一個書櫥。它一個月比一個月重,因為我喜歡買書,其中許多我甚至還沒讀過。最後要說的但卻很重要的是我舒服的床,我在上面已經度過生命中超過三分之一的時間了。不管怎樣,我喜歡我的房間。我寧可待在房間裡也不願出去。...餘下全文>>
幫寫一個簡單的DIV布局
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/...al.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<title>簡單的DIV布局</title>
<style type="text/css">
body,div,p{margin:0;padding:0;}
body{text-align:center;font-size:36px;}
#w,#l,#r,#t,#b,#a{border:#000 solid 1px;}
#w{width:980px;height:auto;overflow:hidden;margin:0 auto;padding:5px;}
#l{width:273px;height:800px;overflow:hidden;float:left;margin-right:5px;}
#r{width:698px;height:800px;float:right;}
#t{width:688px;height:118px;margin:5px auto;}
#b{width:688px;height:663px;margin:5px auto;position:relative;z-index:1;}
#a{width:500px;height:200px;position:absolute;right:20px;bottom:40px;background:#f00;z-index:2;}
</style>
</head>
<body>
<div id="w">
<div id="l">使用者資訊</div>
<div id="r">
<div id="t">標題等</div>
<div id="b">詳細內容
<div id="a">回複內容</div>
</div>
</div>
</div>
<&#......餘下全文>>