More fun with scrollbars and divs in Firefox and IE6... This time I put the example online. To my mind it's a bit messy (typical of stubborn persistence winning out over my lack of any design skills...).
This one works as expected with Firefox. It almost works as expected under IE6 except the scrollbar (which does exist) is pushed off the right edge of the window. Anyone have a clue how to get that scrollbar back in place?
I didnt look at the code, but I do know that ie has the boxmodel problem... try giving it it's own stylesheet using conditional comments with a slightly smaller width for the element with the scroll bar...
That way you are 100% sure that no other browser EXCEPT ie (less than ie7, which probably fixed the bug you experienced) will use the style declarations...
Yup, I usually have a css/iesucks.css file sitting on the server. Any time I come across an ie only problem, i fix it in the ie stylesheet... saves the "real" one from getting cluttered with hacks and other fluff (that will usually prevent validation)
nickvd wrote:Yup, I usually have a css/iesucks.css file sitting on the server. Any time I come across an ie only problem, i fix it in the ie stylesheet... saves the "real" one from getting cluttered with hacks and other fluff (that will usually prevent validation)