課程
/前端開發
/HTML/CSS
/初識HTML(5)+CSS(3)-升級版
怎么把個人簡介放在左上角??
thanks
2016-08-16
源自:初識HTML(5)+CSS(3)-升級版 6-7
正在回答
<html>
<head>
<style type="text/css">
????.position{padding-top:1px;
????????????????????padding-right:100%;
????????????????????padding-bottom:100%;
????????????????????padding-left:1px;
????????????????????margin-top:1px;}</style>
</head>
<body>
????<div class="position">
????????????<p>個人簡歷</p>
????</div>
</body>
</html>
clearcache_me 提問者
<!doctype html><html><head><meta charset="utf-8"><title>無標題文檔</title><style>#個人簡歷{?? ?float: right;}</style></head><body><div id="個人簡歷">個人簡歷</div></body></html>
其他的一些屬性你也可以設置一下。
<!DOCTYPE HTML>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>文本域</title>
<style>
? ?p{
? ? ? ?font-size:10px;
? ? ? ?}
</style>
<form action="save.php" method="post" >
? ? <p >個人簡介:<p>
? ? <textarea cols="50" rows="10">在這里輸入內容...</textarea>
? ? <input type="submit" value="確定" ?name="submit" />
? ? <input type="reset" value="重置" ?name="reset" />
</form>?
position:absolute;left:0;top:0;父級position:relative;
舉報
HTML(5)+CSS(3)基礎教程8小時帶領大家步步深入學習標簽用法和意義
3 回答這個框剛開始在左上角怎么向左移動
2 回答<label>個人簡介:</label>
3 回答怎么把聯系我們放到框的左上那塊
2 回答 <label>個人簡介:</label> 代碼中點擊個人簡介 label標簽沒效果?求解 ?
2 回答為什么是相對于右上角不是左上角
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-08-16
<html>
<head>
<style type="text/css">
????.position{padding-top:1px;
????????????????????padding-right:100%;
????????????????????padding-bottom:100%;
????????????????????padding-left:1px;
????????????????????margin-top:1px;}
</style>
</head>
<body>
????<div class="position">
????????????<p>個人簡歷</p>
????</div>
</body>
</html>
2016-08-16
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>無標題文檔</title>
<style>
#個人簡歷
{
?? ?float: right;
}
</style>
</head>
<body>
<div id="個人簡歷">個人簡歷</div>
</body>
</html>
其他的一些屬性你也可以設置一下。
2016-08-16
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>文本域</title>
<style>
? ?p{
? ? ? ?font-size:10px;
? ? ? ?}
</style>
</head>
<body>
<form action="save.php" method="post" >
? ? <p >個人簡介:<p>
? ? <textarea cols="50" rows="10">在這里輸入內容...</textarea>
? ? <input type="submit" value="確定" ?name="submit" />
? ? <input type="reset" value="重置" ?name="reset" />
</form>?
</body>
</html>
2016-08-16
position:absolute;left:0;top:0;父級position:relative;