I am attempting to create a page layout with text that should look like this:
Team Name My Team Name +-------------+
Division Team Division| |
Current Ranking 5| Team Logo |
Event Event name and date| Here |
Event Wins : 5 Event Scored : 16 Event Conceded : 13| |
Match 1 Team 1 - team 1 score team 2 score - Team 2| |
Match 2 Team 1 - team 1 score team 2 score - Team 2+-------------+
Etc
However, the result I am getting is different:
Team Name event wins : 5 My Team Name +-------------+
Division event scored : 16 Team Division| |
Current Ranking Event event 5| Team Logo |
conceded : 3 Event name and date| Here |
| |
+-------------+
Etc
I have experimented with various float/clear settings on different elements, but I am struggling to identify the issue. Could someone please provide guidance on what is wrong with my HTML/CSS code? I would also appreciate an explanation of why it is incorrect so I can better understand floats and prevent similar issues in the future. Thank you.
Here is the JSFiddle link:
And here are the fullscreen results: