As a beginner in CSS, I am overwhelmed by the numerous ways to position elements on a webpage.
I am currently trying to achieve two different layouts:
Scenario 1 : Plenty of space available
[Image] this is the text that I want
Scenario 2 : Limited space available
[Image] this is the text
that I want
This is what I have achieved so far using display: inline:
Scenario 1 :
[Image] this is the text that I want
Scenario 2 :
[Image]
this is the text that I want
I appreciate any tips in advance ;)