fixing duplicated ID attribute by switching to classes"
This commit is contained in:
parent
755015b812
commit
0b3f0f129b
2 changed files with 9 additions and 9 deletions
|
@ -20,7 +20,7 @@
|
|||
//
|
||||
?>
|
||||
|
||||
<div id="pagination"> <p class="pagination"><?php echo $pages?></p> </div>
|
||||
<div class="pagination"> <p class="pagination"><?php echo $pages?></p> </div>
|
||||
<div id="activity">
|
||||
|
||||
<?php if ($items): $i = 1; foreach ($items as $item): ?>
|
||||
|
@ -166,4 +166,4 @@
|
|||
<?php endforeach; endif; ?>
|
||||
|
||||
</div>
|
||||
<div id="pagination"> <p class="pagination"><?php echo $pages?></p> </div>
|
||||
<div class="pagination"> <p class="pagination"><?php echo $pages?></p> </div>
|
14
main.css
14
main.css
|
@ -46,13 +46,6 @@ body {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
#pagination {
|
||||
width: 500px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
#activity {
|
||||
width: 500px;
|
||||
margin: 0px auto 25px auto;
|
||||
|
@ -66,6 +59,13 @@ body {
|
|||
|
||||
/* Classed Blocks */
|
||||
|
||||
div.pagination {
|
||||
width: 500px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
div.item {
|
||||
width: 500px;
|
||||
margin: 20px auto 50px auto;
|
||||
|
|
Loading…
Reference in a new issue