I'm doing an horizontal calendar. I was testing something today and I'm wondering if it's a bug or if it's really a limitation of the browser.
In short, I'd like to have an infinite width. The calendar is within a div and would overflow to infinite.
After inserting a really big range, I realized that my width was actually 0px. Then after searching. I found to width with strange behavior.
- 35791375px px width is 0px
- 35791374px background disappear
- 35791373px div displays correctly
And was wondering actually what would be the actual maximal width that would work across all browsers. These numbers are quite strange. They are not factors of 8.
Here is a sample markup.
<div class="calendar" style="overflow: hidden; width: 1000px;">
<div class="scroll" style="width: 35791375px;">
<div class="month">...</div>
...
<div class="month">...</div>
</div>
</div>