Log In · Register

 
 
Closed TopicStart new topic
quick help with a div layout, scroll
Kisses4Uxx3
post Aug 31 2006, 05:21 PM
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.
 
Relentless
post Aug 31 2006, 05:51 PM
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.
 
asiangangstadj
post Aug 31 2006, 07:00 PM
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;
 
Kisses4Uxx3
post Aug 31 2006, 09:54 PM
Post #4


Newbie
*

Group: Member
Posts: 4
Joined: May 2006
Member No: 402,457



QUOTE(asiangangstadj @ Aug 31 2006, 8:00 PM) *
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.
 
asiangangstadj
post Aug 31 2006, 10:41 PM
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
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: