Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: HTML Background

Parašė Dandžu· 2008 Vas. 28 22:02:01
#9

Čia toks mano greitas variantas su table. http://ssound.xz.lt/pavyzdys/pav...
pavyzdys.html
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>Pavyzdys</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='Pavyzdys'>
<link rel='stylesheet' href='styles.css' type='text/css'>
<tr>
<td valign='middle' align='center'>

<br><br><table background='images/mainbg.gif' align='center' cellpadding='0' cellspacing='0' width='500' height='400' border='0'>

<tr>
<td height='100%' style='PADDING: 120px 0px 0px 200px'>


<table cellspacing='0' cellpadding='0' width='100%' border='0'>
<tr><td valign='top' align='center' colspan='3'>Tekstas</tr></table>



</td>
</tr>

</table></td></tr>
</head>
<body bgcolor='$body_bg' text='$body_text'>




styles.css

 body {
    background-image: url(images/bg.gif);
   background-attachment: fixed;
   font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
   font-size:10px;
}