Ensuring divs are inline.
-
Pastebin: https://pastebin.com/9x5crp7z
Relevant CSS:
.one{ clear: both; margin-right: 35px; } .column{ float: left; position: relative; width: 350px; }
Hi, I am looking to create a 2 column layout for new posts to be presented on the front page, I have managed to get the 2 columns to work (with some help from other users here), however, I am struggling to figure out how to ensure the rows line up, if it is at all possible.
At the moment my code goes through posts and assigns them to either column one or column two. However, depending on the length of the excerpt the post items do not always line up. Is there a way to force this, or is it not possible in the current code?
Thanks in advance. ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Ensuring divs are inline.’ is closed to new replies.