Reply
Html text help
Old 06-19-2006, 06:27 PM Html text help
JStrick525's Avatar
Junior Talker

Posts: 1
Name: Jennifer
Does anyone know the html code to create a text box that scrolls up and down? I'm making a web page and I have a lot of text but the background I'm using doesn't tile well so I want the text to be in a seperate box. (I hope I'm making sense lol). Thanks in advance!
JStrick525 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-19-2006, 09:48 PM Re: Html text help
blue-dreamer's Avatar
Webmaster Talker

Posts: 719
Location: Middle England
How about:

<div id="content">
Your text blurb here
</div>

then in your stylesheet add:

#content {
width: 420px;
height: 360px;
overflow: auto;
}


(set the width/height to whatever you wish)}
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 06-20-2006, 03:13 PM Re: Html text help
AliKat's Avatar
Extreme Talker

Latest Blog Post:
Beginning Ajax with PHP
Posts: 168
Location: MS
If it's just the background you don't want to tile use:

HTML Code:
body {
 background-image: url("image/url");
 background-repeat: no-repeat;
 background-attachment: fixed;
}
I beleive this works in all browsers.
AliKat is offline
Reply With Quote
View Public Profile Visit AliKat's homepage!
 
Reply     « Reply to Html text help
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12338 seconds with 12 queries