Jump to content

Recommended Posts

Posted

Does anyone here use swish?

if so i have a site that is all flash that sit's on top of an html page and there is a section of text which is a few paragragh's long. How can i make it so the visitors can scroll the text?


Posted (edited)

You can use the CSS overflow property.. :yes: Like so..

More info here

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>Test</title>
<style>
p {
/* the width/height you want */
width: 500px;
height: 100px;

overflow: auto;
}
</style>
</head>

<body>
<p>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer tincidunt nulla laoreet magna. Vivamus auctor cursus turpis. Aenean porttitor sapien et pede. Morbi porttitor, lacus at accumsan ultrices, velit mi molestie quam, quis nonummy purus pede ac massa. Nam et nunc. Donec nec lacus sit amet orci dictum sollicitudin. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Praesent enim turpis, commodo quis, posuere nec, porta at, ipsum. Suspendisse fringilla augue eu orci. Ut non nibh. Aliquam et libero. Aliquam ultrices. Suspendisse eu purus vitae erat ultricies adipiscing. Sed quam. Aliquam cursus interdum sem. Curabitur pulvinar, erat quis malesuada sodales, nunc justo blandit odio, sed molestie libero mi venenatis nulla. Aliquam erat volutpat.
</p>

</body>
</html>

Err.. might have misunderstood you. Was thinking html/css and not flash for scrolling. Dunno anything about Flash :unsure:

Edited by RayOK

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...