Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 11-02-2005, 02:22 PM Text Issues
btilus's Avatar
Novice Talker

Posts: 11
Trades: 0
I use dreamweaver 2004 to design my pages...but I'd like to put in some text into the page without haveing the whole page have to stretch to accomodate it..I'd like to have the text in a box with a scroll bar on the side that allows them to scroll through the text...can anyone give me the code to make this happen? Or tell me how to do this? I've been dinking around for awhile now and just can't figure it out
btilus is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2005, 02:29 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
HTML Code:
<div style="width:300px;height:300px;overflow:auto ;">text goes here</div>
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-02-2005, 02:30 PM
praveen's Avatar
Life is a Dream

Posts: 3,591
Name: Praveen
Location: Chennai, India
Trades: 0
edit : looks like chris has beaten me to it
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Last edited by praveen; 11-03-2005 at 11:27 AM..
praveen is offline
Reply With Quote
View Public Profile
 
Old 11-03-2005, 11:04 AM
Junior Talker

Posts: 3
Trades: 0
Here's an example of the full page's code. This is done using CSS.

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
.ScrollBox {
width:200px;
overflow:auto;
height:200px;
font-family:'Trebuchet MS', Arial, sans-serif;
font-size:12px
}
</style>
</head>
<body>
<div class="ScrollBox">CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE CONTENT GOES HERE </div>
</body>
</html>
You can have a play with the dimensions, positioning, padding and so on and so forth. Any more problems, just shout.

Good luck
iCreate is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Text Issues
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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 2.39232 seconds with 12 queries