As a beginner in Web Development, I am tasked with creating a web portfolio for an assignment.
In my design layout, I have a navigation bar in a div floated left, and a content div floated right serving as an about me section containing paragraphs and lists.
However, when resizing the browser, the right-hand content div drops below at a certain size. I would like the text within the content div to compress into the div instead of dropping down?
Note that I need to achieve this using HTML/CSS only, as JavaScript solutions will be introduced later in the assignment.
I have replaced all personal info in the paragraphs with similar placeholder text.
If this sounds like a trivial question, please bear with me as my code may seem amateurish since I'm still learning.
Any assistance or guidance on how to keep the text compressed within the content div upon resizing would be greatly appreciated.