CSS Scrolling and Silverlight

In response to a comment on my Scrollable Region example, I wanted to see if scrollable regions in CSS work with Silverlight.  It seems to work ok if you leave room for the scrollbar (e.g. if the Silverlight asset is 160px wide, make the div 180px or so wide).  For example:

No Scrolling

Scrolling in CSS (overflow: auto;)

Scrolling in CSS (overflow: scroll;)

Grab the example and let me know you what you think!

Comments:

I didn't see any difference between overflow:scroll and overflow:auto until I realized that it might be a browser thing and viewed the page in IE instead of Firefox.

The difference is the bottom scroll is always visible and takes over some real-estate (seems the same in FF and IE...don't have Safari to test, but if someone wants to donate a iBook, let me know). The difference on my machine(s) is the bottom scrollbar.


 



 
Save Cancel