Clearing Floats (The Correct Way)
Taken from How To Clear Floats Without Structural Markup from Position is Everythingwhich goes into a reasonable amount of detail on the subject.
For these purposes, simply add this to the element declaration:
:after { content: "."; clear:both; display:block; height: 0; visibility:hidden; }
Book a FREE Consultation Today
Pick a day & time in the calendar that suits you for a 30 minute phone, video or in-person* meeting to run through your needs and explore options.
Please include a brief summary of your request along with any existing links, etc.
* In-person visits available in the Isle of Purbeck, Dorset and surrounding areas only