Ciao.
Sto diventando matto perchè cavolo
l'elemento P con id paging non vede
le regole del css ?![]()
XHTML:
CSS:Codice PHP:<!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>
<title>Blog</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="css/main.css" />
</head>
<body>
<div id="container">
<div id="header">
<h1>Blog</h1>
</div>
<div id="content">
<h2 id="welcome">Welcome. There are n° 6 articles in your Blog.</h2>
<div class="article">
tshifts</p>
tshifts</p>
tshifts the first value of the array off and returns it, shortening the array by one element and moving everything down. All numerical array keys will be modified to start counting from zero while literal keys won't be touched. If array is empty (or is not an array), NULL will be returned.</p>
15-02-2007</p>
<form class="frmManager" action="/blog/two/admin/index.php" method="post" name="frmManager">
<input type="submit" value="Edit Blog" name="updateblog" />
<input type="submit" value="Delete Blog" name="deleteblog" />
<input type="hidden" value="1" name="id" />
</form>
</div>
<div class="article">
prova</p>
prova</p>
tshifts the first value of the array off and returns it, shortening the array by one element and moving everything down. All numerical array keys will be modified to start counting from zero while literal keys won't be touched. If array is empty (or is not an array), NULL will be returned.</p>
15-02-2007</p>
<form class="frmManager" action="/blog/two/admin/index.php" method="post" name="frmManager">
<input type="submit" value="Edit Blog" name="updateblog" />
<input type="submit" value="Delete Blog" name="deleteblog" />
<input type="hidden" value="2" name="id" />
</form>
</div>
<p id="paging"><span id="selected">1</span>[url="/blog/two/admin/index.php?page=2"]2[/url][url="/blog/two/admin/index.php?page=3"]3[/url][url="/blog/two/admin/index.php?page=2"]>>[/url] </p><form action="/blog/two/admin/index.php" method="post" name="frmInsert">
<input type="hidden" name="id" value="5-" />
<label>Title :</label>
<input type="text" name="title" value="" /><br class="frmClear" />
<label>Author :</label>
<input type="text" name="author" value="" /><br class="frmClear" />
<label>Content :</label>
<textarea name="article" cols="30" rows="30"></textarea><br class="frmClear" />
<input type="hidden" name="posted" value="1171613708" />
<label></label><input type="submit" name="addblog" value="Insert">
</form>
</div>
<div id="footer"><h3>By Whisher</h3></div>
</div>
</body>
</html>
Codice PHP:* {
margin:0px;
padding:0px
}
a:link, a:visited,a:hover,a:active {
text-decoration : none;
color:#379898
}
body {
background-image: url(../img/bodyFixed.gif);
background-repeat: no-repeat;
background-attachment: fixed;
background-color: #421D42;
color:#471C47;
text-align:center;
font-size:120%;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
div#container {
margin: 0 auto;
width:560px;
background-color: #A690AF;
border-top:2px solid #B0C5D8;
border-bottom:2px solid #B0C5D8;
text-align:left
}
div#header {
}
div#header h1 {
color:#B0C5D8;
text-align:center;
}
div#content {
height: auto !important; /* per i browser moderni */
height: 200px; /* per IE5.x e IE6 */
min-height: 200px; /* per i browser moderni */
margin:5px 5px
}
div#footer {
line-height:30px;
}
div#footer h3 {
text-align:center
}
#welcome {
margin:10px 0px
}
div.article {
float:right;
width:550px;
margin:10px 0px
}
form.frmManager {
float:right;
width:310px;
margin:0px 0px
}
form.frmManager input {
width:150px;
background-color:#FFFFFF;
color:#770E77;
font-weight:bold;
}
form {
float:right;
width:550px;
margin:30px 0px;
}
form label {
float:left;
width:130px;
margin-right:5px;
text-align:right
}
form input {
width:405px;
padding-left:5px;
border:1px solid #fff
}
form textarea {
width:405px;
height:200px;
margin-bottom:5px;
padding-left:5px;
border:1px solid #fff
}
br.frmClear {
clear:both
}
//PAGING
p#paging {
text-align:center
}
span#selected {
color: #FFFFFF
}
Un sentito grazie a chi illumina![]()
![]()


Rispondi quotando
background height DOV'è QUESTA??
ho abozzato una paginazione pure io ieri..
