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

Parašė zilvenas· 2011 Bir. 11 17:06:48
#3

AivarasZs parašė:

 
<!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 id="wrap">
<div align="center">
<div class="head"></div>
<div class="nav"></div>
<div class="news">
<p>Lorem ipsum naujiena numeris vienas</p>
</div>
<div class="panel"></div>
	</div>
		</div>
 



 
body {
	background:url(<b>http://allenas.wu.lt</b>/images/bg.png);
	margin: 0;
    padding: 0;
	background-repeat: repeat-all;
	}
 
#wrap {
	width:900px;
	height:auto;
	margin:0 auto;
}
 
.head {
	background:url(http://allenas.wu.lt/images/head.png);
	width: 900px;
	height: 119px;
	}
 
.nav {
	background:url(http://allenas.wu.lt/images/nav.png);
	width: 847px;
	height: 64px;
	background-repeat: no-repeat;
	background-position: center;
	}
 
.news {
	background:url(http://allenas.wu.lt/images/new.png);
	width: 502px;
	height: 42px;
	float: left;
	background-repeat: no-repeat;
	margin-left:29px;
	}
 
.news p {
	font-family: Myriad Pro;
	font-size: 12px;
	color: #fff;
	text-transform: uppercase;
	text-align: left;
	text-decoration: none;
	padding-left:15px;
}
 
.panel {
	background:url(http://allenas.wu.lt/images/panel.png);
	width: 265px;
	height: 42px;
	background-repeat: no-repeat;
	float: right;
	margin-right:29px;
	}
 


Nebūtina taip rašyt,galima ir background:url(images/bg.png); ;)