Tuesday, December 6, 2011

Need Horizontal HTML scroll bar?

I want to create an Horizontal scroll bar just below the pictures: http://www.visual5.com/sample.html


(like the scroll bar that appears at the edge of the window) so far I got:


%26lt;div style="overflow-x:scroll; width: "2100; height: 465px;"%26gt;


but when I add the pics it places them vertically.


Does anyone know the right way? Thanks|||The problem is that your div is wrapping at the edge of the browser. You can try to add word-wrap="normal" to your div, but I honestly doubt it will work.





The gallery you use as an example did it by actually setting their locations absolutely (note the left: 4822px)





%26lt;div style="position: absolute; top: 158px; left: 4822px; width: 700px; height: 465px; z-index: 8;" id="element173"%26gt;

No comments:

Post a Comment