How to prevent divs with a set width but no content from being collapsed

When rendered by Firefox, a div with no content is collapsed even if it has a width set.
A simple way to fix this is to insert   (the html code for space) into the div and Firefox will
regard it has having content and render it according to the width property.

Leave a Reply

Your email address will not be published. Required fields are marked *