Solution (JavaScript Solution)
Date of the Solution
Sat Jul 18 22:18:20 2009
Fixed Versions
all of the affected
Description
We'll use a pre-coded JavaScript solution to fix this bug - the minmax.js script. I've stored a local version of the script in case their page goes down. Here's the fixed demo:
Due to the nature of the bug, the demo is available on a separate page
- HTML Code:
<script type="text/javascript" src="/minmax.js"></script>
<div>
Foo Bar
</div>
- CSS Code:
div {
background: #999;
border: 1px solid #000;
max-width: 500px;
}
The script does the magic, 'nuf said. Just include it in your document and the rest is history.