The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Scroll box

View previous topic View next topic Go down

Solved Scroll box

Post by Saxaca on September 19th 2010, 8:36 pm

Ok, you know when you enter a long code in a code box, it makes it so it kinda scrolls down.

Whats the code for making a box like that?

Seriously, i dont know. ...


Last edited by Saxaca on September 20th 2010, 3:34 pm; edited 1 time in total

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: Scroll box

Post by Sanket on September 19th 2010, 8:39 pm


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Scroll box

Post by Saxaca on September 19th 2010, 8:44 pm

Well, that doesnt really help me, a code like this:

Spoiler:
<scrollbox>AAAAAAAAA
AAAAAAAA
AAAAAAAAA
AAAAAAAAAAA</scrollbox>

(LOL, yeah, i know that one doesn't work..)

EDIT:

I mean, without it standing code, like just:

TEXT |
TEXT |
TEXT |
TEXT |

Lol, the |'s is the scrollbar.

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: Scroll box

Post by RoNo on September 19th 2010, 11:40 pm

You can use a div for that.
Try the codes below in *this editor
Code:
<div style="width: 200px; height: 100px; overflow: scroll; border: black 1px solid; background-color: lightblue;">
A div with overflow:scroll <br>
in the style tag will<br>
give you scroll bars.<br><br>

Code:<br>
style="width: 200px; height: 100px; overflow: scroll; border: black 1px solid; background-color: lightblue;">A div with overflow:scroll <br>
in the style tag will<br>
give you scroll bars.

</div>

<br><br>

Version #2

<div style="width: 200px; height: 100px; overflow: auto; border:red 1px solid">A div with overflow:auto <br>
in the style tag will<br>
give a scroll bar<br>
on the left only<br><br>
Code:<br>
style="width: 200px; height: 100px; overflow: auto; border:red 1px solid">
</div>

<br><br>

RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Scroll box

Post by Saxaca on September 20th 2010, 3:31 pm

Thanks RoNo! That's exactly what i wanted! Smile

Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: Scroll box

Post by Sanket on September 20th 2010, 7:26 pm

Since this thread is marked solved, I will lock this thread.


Sanket Smile


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum