I am finishing some Wordpress webpage and want to style (using CSS ) the list of posts on the Posts page. Wordpress creates this:
<div class="entry">
There are many of these elements on the page, to separate them, I used the border at the bottom of the post. The problem is that I do not want this border for the last record. Could something like this be done in CSS? (Note that this is not a list, so I cannot use pseudo-classes)
Here is my CSS, it's pretty simple:
.entry{ border-bottom: 1px solid yellow; }
HTML:
<div id="wrapper"> <br /> there are loads of code <br /> <div class="entry">bunch of code there</div> <br /> <div class="entry">bunch of code there</div> <br /> <div class="entry">bunch of code there</div> <br /> another huge code <br /> </div>
Thank you in advance.
Tom11 source share