Basic CSS question
I’m sort of confused. I know how to style the first or last child of a list but how about a group. For example I have a 900px container and in it I’m displaying my excerpts from blog posts, each in a div class “block” about 290px wide and a margin-right of 20px to create some space between them. 3 blocks should be in a row but the last ones go beneath because of the margin right
How would I remove the margin-right from those? Not sure if that’s possible with php generated divs
- The topic ‘Basic CSS question’ is closed to new replies.