天天看點

div+css網頁源碼

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>Plans on Paper - Index_filled_flash</title>

<link rel="stylesheet" href="style.css" target="_blank" rel="external nofollow" type="text/css">

</head>

<body>

<div id="container">

?<div id="header">

??<object type="application/x-shockwave-flash" data="pop_1.swf" width="766" height="122">

???<param name="movie" value="pop_1.swf">

??</object>

?</div>

? <div id="left-col">

??<object type="application/x-shockwave-flash" data="pop_L.swf" width="236" height="552">

???<param name="movie" value="pop_L.swf">

??</object>

??????? <img src="images/pop_18.gif" alt="" name="flash-bot" width="236" height="70" id="flash-bot"></div>

?<div id="content">

?? <div id="content-copy"><img src="images/h_welcome.gif" width="134" height="16" alt="">

???<img src="images/photo1.jpg" width="70" height="70" alt="" class="float-lt">

???<p>Molestieconsquat, vel illum dolore eu feugiat a the nulla facilisi at veroeros etaccumsanet iusto odio digniss im qui blandit esent luptatum. In the vulputatevelit moleec onsquat, vel illum dolore eu feugiat nulla, facilisi at vero eros etaccumsanet iusto odio digniss. In vulputatevelit moleec onsquat, vel illum dolore eu feugiat nulla facilisi at vero eros.</p>

???<p>Molestieconsquat, vel illum dolore eu feugiat a the nulla facilisi at veroeros etaccumsanet iusto odio digniss im qui blandit esent luptatum. In the vulputatevelit moleec onsquat, vel illum dolore eu feugiat nulla, facilisi at vero eros etaccumsanet iusto odio digniss.</p>

???<hr>

???<div id="news3"><img src="images/h_about.gif" width="98" height="16" alt="">

????<img src="images/photo2.jpg" width="70" height="67" alt="" class="float-lt">

????<p><img src="images/arrow.gif" width="10" height="6"><span class="bolded">Lorem ipsum</span><br>Molestieconsquat, vel illum dolore eu feugiat a the nulla facilisi at veroeros etaccumsanet iusto odio digniss im qui blandit.</p>

????<div class="more1 more2"><a href="#" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" ><img src="images/more2.gif" width="52" height="7" alt=""></a></div>

????<img src="images/photo3.jpg" width="70" height="67" alt="" class="float-lt2">

????<p><img src="images/arrow.gif" width="10" height="6"><span class="bolded">Lorem ipsum</span><br>Molestieconsquat, vel illum dolore eu feugiat a the nulla facilisi at veroeros etaccumsanet iusto odio digniss im qui blandit.</p>

????<div class="more1 more2"><a href="#" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" ><img src="images/more2.gif" width="52" height="7" alt=""></a></div>

???</div><div id="news2">

????<div class="ss"></div>

????<img src="images/photo2.jpg" width="70" height="67" alt="" class="float-lt">

????<p><img src="images/arrow.gif" width="10" height="6"><span class="bolded">Lorem ipsum</span><br>Molestieconsquat, vel illum dolore eu feugiat a the nulla facilisi at veroeros etaccumsanet iusto odio digniss im qui blandit.</p>

????<div class="more1 more2"><a href="#" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" ><img src="images/more2.gif" width="52" height="7" alt=""></a></div>

????<img src="images/photo3.jpg" width="70" height="67" alt="" class="float-lt2">

????<p><img src="images/arrow.gif" width="10" height="6"><span class="bolded">Lorem ipsum</span><br>

????Molestieconsquat, vel illum dolore eu feugiat a the nulla facilisi at veroeros etaccumsanet iusto odio digniss im qui blandit.</p>

????<div class="more1 more2"><a href="#" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" target="_blank" rel="external nofollow" ><img src="images/more2.gif" width="52" height="7" alt=""></a></div>

???</div>

???<hr class="hr2">

??? <img src="images/h_contact2.gif" width="88" height="16" alt="">

??? &#23458;&#25143;&#21517;&#24405;

???

??? <div id="news3">

????? <p>&#20844;&#21496;&#21517;&#31216;</p>

???? </div>

???<div id="news2">

????? <p><img src="images/arrow.gif" width="10" height="6"><span class="bolded">Lorem ipsum</span><br>

????????????????? Molestieconsquat, vel illum dolore eu feugiat a the nulla facilisi at veroeros etaccumsanet iusto odio digniss im qui blandit.</p>

???? </div>

?? </div>

??<div id="footer">2005 &copy; Copyright Interior design. All rights reserved.</div>

?</div>

</div>

</body>

</html>?

****************************

style.css

html, body {

margin:0;

padding:0;

font-size:11px;

font-family:Tahoma, Arial, Helvetica, sans-serif;

color:#858585;

background:#FFF url(images/bg.gif) -1px -1px;

}

a img {

border:0;

}

a, a:link, a:visited, a:active {

color:#677A51;

text-decoration:underline;

}

a:hover {

text-decoration:none;

}

h1 {

font-size:11px;

margin:0 0 5px 3px;

}

form {

margin:0 0 0 10px;

padding:0;

}

label {

width:115px;

margin:3px 0;

float:left;

font-weight:bold;

}

.theinput {

font-size:11px;

font-family:Tahoma, Arial, Helvetica, sans-serif;

margin:3px 0 3px 0;

color:#858585;

width:243px;

border:1px solid #AAAAAA;

}

#buttons {

width:245px;

text-align:center;

margin-left:115px;

}

#buttons img {

position:relative;

top:3px;

}

#buttons input {

margin:3px 5px;

}

#submit {

width:48px;

height:26px;

border:0;

background:url(images/send.gif) no-repeat;

}

#clear {

width:62px;

height:26px;

border:0;

background:url(images/clear.gif) no-repeat;

}

hr {

height:1px;

border:0;

border-bottom:1px solid #E0E0E0;

clear:both;

}

.hr2 {

padding-top:10px;

}

p {

margin:7px 0 1px 0;

line-height:13px;

text-align:justify;

}

p.news {

font-size:10px;

margin:5px 0 2px 0;

padding-right:10px;

line-height:14px;

}

.float-lt {

float:left;

padding-right:10px;

padding-top:10px;

}

.float-lt2 {

float:right;

padding-right:5px;

padding-left:5px;

padding-top:10px;

}

.float-rt {

float:right;

}

.bolded {

font-weight:bold;

}

.more1 {

text-align:right;

line-height:0;

font-size:0;

background:url(images/dots_hor.gif) repeat-x;

margin-right:10px;

}

.more2 {

margin-top:12px;

}

.ss {

text-align:right;

line-height:0;

font-size:0;

height:16px;

margin-top:0;

}

#container {

width:766px;

}

#header {

height:122px;

font-size:0;

line-height:0;

}

#top-head {

height:80px;

}

#nav {

height:42px;

}

#nav img {

float:left;

}

#nav ul {

margin:0;

padding:0;

list-style:none;

}

#nav ul li {

float:left;

}

#left-col {

width:236px;

height:622px;

background:url(images/pop_10.gif) no-repeat;

float:left;

position:relative;

}

#flash-bot {

position:absolute;

left:0px;

bottom:0px;

}

.top {

width:236px;

height:125px;

display:block;

}

.bot {

width:236px;

height:124px;

display:block;

}

#content {

width:510px;

height:592px;

background:url(images/pop_11.gif) no-repeat;

float:left;

position:relative;

}

#content-copy {

margin:23px 30px 23px 20px;

height:200px;

}

#news1 {

width:207px;

float:left;

background:url(images/dots_vert.gif) top right repeat-y;

}

#news2 {

width:220px;

padding-left:10px;

float:right;

}

#news3 {

width:220px;

padding-left:10px;

float:left;

}

#gallery {

margin:5px 0 0 5px;

padding:10px;

list-style:armenian;

}

#gallery li {

float:left;

line-height:0;

font-size:0;

margin-right:5px;

}

.arrow {

padding-top:35px;

}

#numbers {

width:180px;

margin:3px auto 10px auto;

}

#numbers ul {

margin:0;

padding:0;

list-style:none;

}

#numbers ul li {

clear:both;

width:180px;

}

#numbers ul li div {

width:90px;

float:left;

}

#footer {

width:490px;

height:25px;

font-size:9px;

padding-left:20px;

padding-top:15px;

background:url(images/pop_17.gif) no-repeat;

position:absolute;

bottom:0;

left:0;

color:#605F4F;

}