web新内容
2016-05-19 23:29
363 查看
利用css完成如图的排版
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
p{
font-size:16px;
padding-right:10px;
padding-top:8px;
line-hright:120%;
}
span{
font-size:40px;
float:left;
padding-right:5px;
padding-left:10px;
padding-top:8px;
}
div{
font-size:30px;
color:#FFF;
background:#999;
}
</style>
</head>
<body>
<div align="center" >Head Line</div>
<img src="imagess/cup.gif" style="float:left;" />
<span>T</span>
<p>he Internet Society’s mission is to achieve a world in which everyone everywhere is connected to an open and universally accessible Internet. Since its inception in 1992, ISOC has been at the forefront of global Internet education by bringing essential information and training to people throughout the world.The Internet Society’s mission is to achieve a world in which everyone everywhere is connected to an open and universally accessible Internet. Since its inception in 1992, ISOC has been at the forefront of global Internet education by bringing essential information and training to people throughout the world.</p>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
p{
font-size:16px;
padding-right:10px;
padding-top:8px;
line-hright:120%;
}
span{
font-size:40px;
float:left;
padding-right:5px;
padding-left:10px;
padding-top:8px;
}
div{
font-size:30px;
color:#FFF;
background:#999;
}
</style>
</head>
<body>
<div align="center" >Head Line</div>
<img src="imagess/cup.gif" style="float:left;" />
<span>T</span>
<p>he Internet Society’s mission is to achieve a world in which everyone everywhere is connected to an open and universally accessible Internet. Since its inception in 1992, ISOC has been at the forefront of global Internet education by bringing essential information and training to people throughout the world.The Internet Society’s mission is to achieve a world in which everyone everywhere is connected to an open and universally accessible Internet. Since its inception in 1992, ISOC has been at the forefront of global Internet education by bringing essential information and training to people throughout the world.</p>
</body>
</html>
相关文章推荐
- 深入分析 Java 中的中文编码问题(1)
- ACM: uva 11584 -
- ACM: uva 1468 - Restaurant
- ACM: poj 3972 -&n…
- jquery 1.6 后 checkbox 使用attr("checked"),undefined.
- ACM: poj 2786 -&n…
- ACM: uva 1432 -&n…
- ACM: uva 1451 - Average
- ACM: uva 10391 - Compound Words
- ACM: uva 10763 -&…
- ACM: uva 10125 - Sumsets
- Java发展历史
- ACM: uva 10827 -&…
- ACM: uva 1325 -&n…
- Iwfu-贝塞尔曲线
- ACM: uva 11389 -&…
- ACM: LA 3266 -&nb…
- ACM: uva 1467 - Installations
- ACM: uva 1450 - Airport
- ACM: uva 1335 - Beijing Guards