quick help with a div layout, scroll |
![]() ![]() |
quick help with a div layout, scroll |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 4 Joined: May 2006 Member No: 402,457 ![]() |
is there any way that you can make the scroll boxes scroll horizontal instead of vertical? because i have a box for videos and it would just look a lot nicer is they scrolled sideways through them.
|
|
|
![]()
Post
#2
|
|
![]() sang loves hayden. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 3,373 Joined: Feb 2004 Member No: 5,687 ![]() |
Yes, it's possible.
I'm thinking of this...... Make sure the video(s) and the DIV has the same height. If it doesn't, then it will create a vertical scrollbar. If you're gonna add like more videos, just put it right after the other video. |
|
|
![]()
Post
#3
|
|
omghi2u ![]() ![]() Group: Member Posts: 26 Joined: Jul 2006 Member No: 445,128 ![]() |
yeah, stack the vids right next to eachother, and in your code..
overflow-x:scroll; overflow-y:hidden; |
|
|
![]()
Post
#4
|
|
Newbie ![]() Group: Member Posts: 4 Joined: May 2006 Member No: 402,457 ![]() |
yeah, stack the vids right next to eachother, and in your code.. overflow-x:scroll; overflow-y:hidden; that works. except there's no scroll bar sideways. <div class="content" style="position: absolute; background-color:transparent; left:25; top:1100px; width:840px; height:370px; overflow-x:scroll; overflow-y:hidden; FILTER: chroma(color=cccccc) allowTransparency;"> <param name="movie" value="http://www.youtube.com/v/N2XWrf1QLYc"></param><embed allowScriptAccess="never" allowNetworking="internal" src="http://www.youtube.com/v/N2XWrf1QLYc" type="application/x-shockwave-flash" width="425" height="350"></embed> <param name="movie" value="http://www.youtube.com/v/y9VWSEq87kc"></param><embed allowScriptAccess="never" allowNetworking="internal" src="http://www.youtube.com/v/y9VWSEq87kc" type="application/x-shockwave-flash" width="425" height="350"></embed> </style> <br> <br> </div> that's whut i have in my code... and it's still not working right. |
|
|
![]()
Post
#5
|
|
omghi2u ![]() ![]() Group: Member Posts: 26 Joined: Jul 2006 Member No: 445,128 ![]() |
try taking that </style> tag out... I cant exactly tell w/o looking at your code, but from what you posted, it doesnt look like it belongs there.. but it might belong somewhere else
|
|
|
![]() ![]() |