Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Allenas klausimai

Parašė allenas.· 2011 Bir. 11 13:06:45
#1

Sveiki, pradėjau mokytis HTML programavimo ir susidūriau su klaida.

Atrodo: http://allenas.wu.lt/

CSC:


/* allenas koding */
 
body {
    background-image: url(images/bg.png);
	margin: 0;
    padding: 0;
	background-repeat: repeat-all;
	}
 
.content {
	width: 792px;
}	
 
.head {
	background-image: url(images/head.png);
	width: 900px;
	height: 119px;
	}
 
.nav {
	background-image: url(images/nav.png);
	width: 900px;
	height: 119px;
	background-repeat: no-repeat;
	background-position: center;
	padding-top: 183px;
	}
 
.new {
	background-image: url(images/new.png);
	width: 502px;
	height: 42px;
	float: left;
	background-repeat: no-repeat;
	}
 
.panel {
	background-image: url(images/panel.png);
	width: 265px;
	height: 42px;
	background-repeat: no-repeat;
	float: right;	
	}
 
.foot {
	background-image: url(images/foot.png);
	width: 900px;
	height: 66px;
	background-repeat: no-repeat;
	background-position: center;
	}
 
.rekl {
	background-image: url(images/rekl.gif);
	width: 900px;
	height: 100px;
	background-repeat: no-repeat;
	background-position: center;
	}
 
.shad {	
    background-image: url(images/shad.png);
	width: 502px;
	height: 76px;
	background-repeat: no-repeat;
	background-position: left;
	}
 
.pan_shad {
	background-image: url(images/pan_shad.png);
	width: 265px;
	height: 96px;
	background-repeat: no-repeat;
	background-position: right;
	}
 
.new_title {
	font-family: Myriad Pro;
	font-size: 12px;
	color: #fff;
	text-transform: uppercase;
	text-align: left;
	text-decoration: none;
	padding-top: 7px;
	}
 
.pan_title {
	font-family: Myriad Pro;
	font-size: 12px
	text-transform: uppercase;
	text-align: left;
	text-decoration: none;
	color: #fff;
	}
 
.nav_text {
	font-family: Myriad Pro;
	font-size: 12px;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	}
 
.new_content {
    font-family: Myriad Pro, Arial;
	width: 500px;
	font-size: 12px;
	color: #c7c7c7;
	text-align: left;
	}
 
.clear { clear: both; }	


INDEX.HTML


<!DOCTYPE <span style="border-bottom: 1px dotted black;">html</span> 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>GTA</title>
<link href="styles.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="bg">
<div align="center">
<div class="head">
<div class=content">
 
    <div class="nav"></div>
 
    <div class="new">
	    <div class="new_title">
		    Lorem ipsum naujiena numeris vienas
    </div>
	    </div>
 
	<div class="clear"></div>
 
	<div class="panel">
	    


Kaip viską sulyginti į vietas? Už pagalbą +11. :)

Redagavo allenas.· 2011 Bir. 11 13:06:08