Can anyone help me with CSS and HTML? I have a travel blog and I want to include a related post section similar to Time.com in my articles, but I'm facing an issue.
What do I need to achieve this?
I want to create a section that looks like the related post section on Time.com. Here's a screenshot for reference: Time.com.
The problem I'm facing is with the text not aligning properly with the content. Here's a screenshot for reference: The text can't flatten the content.
Any suggestions on how I can style my text/articles similar to Time.com?
Here is my HTML code:
<div class="resources">
<h4>Other facts</h4>
<ul>
<li>United Arab Emirates Facts</li>
<li>Venice Facts</li>
<li>Great Wall of China Facts</li>
<li>Dead Sea Facts</li>
<li>Grand Canyon Facts</li>
</ul>
</div>
And here is my CSS:
.resources }
width: 30%;
float: left;
}