Log In · Register

 
 
Closed TopicStart new topic
css scroll-box
acidbreeze
post Sep 23 2004, 04:49 PM
Post #1


chri$
******

Group: Member
Posts: 1,014
Joined: Jul 2004
Member No: 29,284



I want to make a box to scroll through on my website

___________________
| . . . . . . . . . . . . . . . . . .|^|
| . . . . . . . . . . . . . . . . . .| |
| . . . . . . . (text) . . . . . . | |
| . . . . . . . . . . . . . . . . . .| |
| . . . . . . . . . . . . . . . . . .| |
|__________________|v|

CODE
<!-- begin code provided by createblog.com -->

head-style-

div {
position:absolute;
overflow-y:scroll;
overflow-x:auto;
left:NUMBER%;
right:NUMBER%;
top:NUMBER%;
bottom:NUMBER%;
width:NUMBER%;
height:NUMBER%;
border:none;
scrollbar-base-color:COLOR;
scrollbar-track-color:COLOR;
scrollbar-face-color:COLOR;
scrollbar-highlight-color:COLOR;
scrollbar-3dlight-color:COLOR;
scrollbar-darkshadow-color:COLOR;
scrollbar-shadow-color:COLOR;
scrollbar-arrow-color:COLOR;
direction:ltr;
font-family:NAME;
font-size:SIZEpt;
color:black;}


body-

<div>(YOUR TEXT)</div>
<!-- end code provided by createblog.com -->
 
C.Lime.Jello.
post Sep 23 2004, 07:14 PM
Post #2


The voices talk too much... -.-u
******

Group: Member
Posts: 2,099
Joined: Aug 2004
Member No: 39,078



Blah....
CODE
<!-- begin code provided by createblog.com -->

<div style="
overflow: auto;
width: ###px;
height: ###px;
margin-top: ###px;
margin-left: ###px;">

<!-- end code provided by createblog.com -->


Replace the # signs with actual numbers.
If you can't get it where you want it with postivie numbers, try using negative numbers.
(EX :: -400)
 
sweetxsimplicity
post Sep 24 2004, 10:24 PM
Post #3


hi, my name is brianna! =]
*******

Group: Official Member
Posts: 5,764
Joined: Jun 2004
Member No: 22,114



Actually, he/she wanted text, so it would be

CODE
<!-- begin code provided by createblog.com -->
<div style="
overflow: auto;
width: ###px;
height: ###px;
margin-top: ###px;
margin-left: ###px;">TEXT</div>
<!-- end code provided by createblog.com -->


Make sure the code is before your blogbody div layer (if you have one) or else the codes will get messed up.
 

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