Free AdviceGet Free Advice
Home | Get advice | Give advice | Topics | Columnists | - !START HERE! -
Make Suggestions | Sitemap

Get Advice


Search Questions

Ask A Question

Browse Advice Columnists

Search Advice Columnists

Chat Room

Give Advice

View Questions
Search Questions
Advice Topics

Login

Username:
Password:
Remember me
Register for free!
Lost Password?

Want to give Advice?

Sign Up Now
(It's FREE!)

Miscellaneous

Shirts and Stuff
Page Backgrounds
Make Suggestions
Site News
Link To Us
About Us
Terms of Service
Help/FAQ
Sitemap
Contact Us


Scroll box


Question Posted Tuesday November 25 2008, 2:16 am

I have this picture:
[Link](Mouse over link to see full location)

Where the screen is, I want to put a scroll box with text (size 10 verdana if it matters) to put the artists on like on my myspace. How do I do this?


[ Answer this question ]

Additional info, added Thursday November 27 2008, 2:37 am:
EDIT:

I want the text to be where the screen in the picture is only.
.

Want to answer more questions in the Technology category?
Maybe give some free advice about: Internet & Web Design?


theymos answered Thursday November 27 2008, 10:49 pm:
This will do it:
<div style="border:1px solid white;background-image:url(http:// i33.tinypic.com/9k6red.png);background-repeat:no-repeat;width:159px;height:374px">
<div style="background-color:white;width:123px;height:160px;margin-left:20px;margin-top:26px;font-family:Verdana, Geneva, sans-serif;font-size:10pt;overflow:auto">Your text here.</div>
</div>

Remove the space after http://. I had to put that there so it wasn't automatically turned into a link.

The border in the first div is necessary for this to work properly on Gecko browsers. The color doesn't matter, there just needs to be a border. I don't know why; this is valid HTML and CSS.

The first URL is the URL of the picture.

The first set of dimensions are the dimensions of the picture.

Background-color is the color of the text box. Remove background-color:white to make it transparent.

The second set dimensions (in the second div) are the dimensions of the text box.

Margin-left is the area to the left of the text box, including the border. Same for margin-top.

I included Verdana, its proper fallback fonts, and the text size.

Change overflow:auto to overflow:scroll if you want there to always be a scroll bar, even when the contents of the box will fit within completely within the box.

[ theymos's advice column | Ask theymos A Question
]




mikeycorpse answered Wednesday November 26 2008, 8:19 pm:
put < text area > your text here < / text area >

WITHOUT spaces

[ mikeycorpse's advice column | Ask mikeycorpse A Question
]

More Questions:

<<< Previous Question: Tattoo
Next Question >>> Hair straightening perm

Recent popular questions:
Want to give advice?

Click here to start your own advice column!

What happened here with my gamer friends?

All content on this page posted by members of advicenators.com is the responsibility those individual members. Other content © 2003-2014 advicenators.com. We do not promise accuracy, completeness, or usefulness of any advice and are not responsible for content.

Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content.
Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.

[Valid RSS] eXTReMe Tracker