Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML
IMCreator - Free Website Builder

MySpace Picture Scroll Box

This page contains HTML code for creating a MySpace picture scroll box. This code is for displaying pictures in a scroll box. To use the scroll box code, simply copy and paste it into your MySpace profile page and change the URL value to your the location of your own picture/s.

Example Picture Scroll Box

Copy the following code:

...to get the following MySpace picture scroll box:

Sample picture for scroll box: Milford Sound, New Zealand

Note that the code on this page assumes that there's an image at the specified location (http://i516.photobucket.com/albums/u323/natural_pics/milford_sound.jpg). You will need to change this value to the URL/location of an image that you have uploaded to the web.

Picture Scroll Box with Hyperlink

This example is exactly the same as the previous example, except that this time we're linking the image to another website. Therefore, when we click on the picture, a new window will open with our specified website. To do this, we simply surround the picture code with an HTML anchor tag (or 'a' tag) to create a hyperlink. In this example, I've also removed the border (using border="0") that is automatically created when you hyperlink images in HTML.

Copy the following code:

...to get the following, MySpace picture scroll box (with a linked image):

Sample picture for scroll box: Milford Sound, New Zealand

Multiple Pictures

You can place as many pictures pictures into your scroll box as you like. Here's an example of two images in a scroll box. Each image is linked to a different web page:

Copy the following code:

...to get the following, MySpace picture scroll box (with two images):

Sample picture for scroll box: Milford Sound, New Zealand
Sample picture for scroll box: Franz Josef Glacier, New Zealand

Background Pictures

So far, all our pictures have been added as content in the scroll box. If you prefer, you can add a background image to your scroll box. Background images are perfect for when you want to add text over the top of your picture. Here's an example:

HTML Code:

Result:

See how this text goes straight over the top of our background image! Note that, by using a background picture, scrollbars will only appear if we have enough text in the scroll box.

More HTML Codes

Check out our huge range of free HTML codes that you can copy/paste into your website or MySpace page.

And, if you wanna learn more, check out our free HTML tutorial!

Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!