Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to construct fancy CSS boxes keeping the IE5 broken box model out?

0
Posted

How to construct fancy CSS boxes keeping the IE5 broken box model out?

0

This solution does not require much markup or CSS declarations and gets around the IE5 broken box model nicely. The 3 “rounded” boxes below are contained in the same DIV (a “float”). If we’re setting a width for this element it is not only because “every float should have a width” but because doing so gives the boxes a fixed width without actually declaring any at their level (the “rule of thumb” to dodge the IE5 broken box model is that one can freely declare border and padding for an element as long as that element does not have a size specified).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123