I have been trying to figure out how to remove the margin-top on the first paragraph which appears on a page under an H1 with the class of entry-title I was reading http://css-tricks.com/child-and-sibling-selectors/ but couldn’t figure it out.
Here is the html and css on pastebin (couldn’t get it work work in the forum)
However that is doing nothing to affect the first paragraph under the H1 tag. What am I doing wrong?
I have noticed in your pastebin that you have mis-spelled content in the CSS. Also you have put a ‘+’ to seperate the two selectors, when with CSS syntax you should use a comma (I think?) try and make them changes and see what you get…
You must be logged in to reply to this topic.