Wnodering if anyone can help. I am trying to create a div, which contains 3 columns. However, the text in the columns is getting cut off, and not fitting into the div correctly. Everything I try to fix it just doesn't seem to work. The only way I can get part of the bottom to show is just to put blank paragraph
<div style="background-color: #611228; color: #ffffff; width: 100%; clear: both;">
<div style="width: 30%; max-width: 30%; padding: 10px; float: left;">
<h4 style="color: #ffffff;">Year 1</h4>
<ul style="color: #ffffff;">
<li><strong>Introduction to Painting</strong> - AR4905 - 40 Credits</li>
<li><strong>Contextual Studies</strong> - AR4906 - 20 Credits</li>
<li><strong>Academic and Personal Development </strong>- AR4907 - 20 Credits</li>
<li><strong>Drawing Process</strong> - AR4908 - 20 Credits</li>
<li><strong>Image Capture and Collage into Painting </strong>- AR4917 - 20 Credits </li>
</ul>
</div>
<div style="width: 30%; max-width: 30%; padding: 10px; float: left;">
<h4 style="color: #ffffff;">Year 2</h4>
<ul style="color: #ffffff;">
<li><strong>Painting Language and Identity</strong> - AR5906 - 40 Credits</li>
<li><strong>Painting Critical Study</strong> - AR5907 - 20 Credits</li>
<li><strong>Career, Studio and Gallery Practice</strong> - AR5908 - 40 Credits</li>
<li><strong>Drawing Personal Development</strong> - AR5909 - 20 Credits </li>
</ul>
</div>
<div style="width: 30%; max-width: 30%; padding: 10px; float: left;">
<h4 style="color: #ffffff;">Year 3</h4>
<ul style="color: #ffffff;">
<li><strong>Painting Major Study</strong> - AR6905 - 40 Credits</li>
<li><strong>Critical Study in Context</strong> - AR6906 - 40 Credits </li>
<li><strong>Professional Presentation</strong> - AR6907 - 40 Credits</li>
</ul>
</div>
</div>
Here is the code:
And here is a link to it on JSFiddle - https://jsfiddle.net/sbailey1/fLh1x40w/2/
Any help will be very much appreciated.
Thanks Sam