On this site: Example I have a newer/older link on the bottom of the page. This lies below .excerpt in .pagination. However, adding padding to the link pushes the padding up into .excerpt, making the two elements overlap. I would like my pagination links cleanly lie below .excerpt.
I'd appreciate any help in solving this issue; my current CSS is below:
You have many solutions however if you want something to be at a very specific position you should make its position to relative and play with the top/right/bottom/left properties.
Example:
.excerpt {
position: relative;
top: 5px;
width: 100%;
padding: 25px 0;
border-bottom: 1px solid #DDD;
overflow: hidden;
clear: both
}
On this site: Example I have a newer/older link on the bottom of the page. This lies below .excerpt in .pagination. However, adding padding to the link pushes the padding up into .excerpt, making the two elements overlap. I would like my pagination links cleanly lie below .excerpt.
I'd appreciate any help in solving this issue; my current CSS is below:
Why not just apply padding to
.paginationas well?just float the anchor
Hello,
You have many solutions however if you want something to be at a very specific position you should make its position to relative and play with the top/right/bottom/left properties.
Example:
Good luck