This is my first website attempt and I’ve been following a great tutorial while trying to do my own thing in some ways. I have learnt a lot but have run into an issue.
The page is up at http://thelifefilm.com/
The ‘Post Tiles’ at the side currently have a margin-top to position them. This works great until the last post that extends onto the second line. So how can I work this so that the <div class="tile"> is always 15px below the post title.
On a side note, if anyone can explain how a go about fully centering my ‘comment numbers’ within the little speech bubble because currently it only looks good for certain numbers.
Thanks and apologies in advance if when I’ve deviated from the tutorial my code looks wonky to the trained eye.
Currently the
<div class="tile">is outside<div class="articleBody">. Put the tile inside the article body, below theh1tag. Remove the top margin on the tile. Wrap the tile and the img that links to a single post in anotherdiv. Float the tile left and the single post image right.Proposed structure:
Let me add as an edit, that for SEO reasons, it is not advisable to have more than one
<h1>tag per page. I’d make them<h2>and<h1>only insingle.php, respectively on the single post pages.