HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Scrollbars? in tables for content
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
Sccrguy13



Joined: 07 Oct 2005
Posts: 3

PostPosted: Fri Oct 07, 2005 11:28 am     Scrollbars? in tables for content Reply with quote

I've been asking around and searching sites but I can't seem to figure out

how to make it so that instead of displaying all the content in my tables, I can

have a scrollbar to search through. I've seen them on other ppls pages, I

want to learn how to make my page more compact like that, does anyone

know the code for this?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8267
Location: Castle Rock CO USA

PostPosted: Fri Oct 07, 2005 1:01 pm     Reply with quote



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

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Title</title>
</head>

<body>

<div style="width: 200px; overflow: scroll; height: 100px;">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam gravida velit mattis lacus. Vivamus pede elit, sagittis in, mattis ultricies, porttitor cursus, elit. Praesent ligula massa, laoreet at, convallis eu, consequat sit amet, odio. Vestibulum mollis rhoncus dui. Cras tristique. Aliquam vel lacus ac arcu viverra imperdiet. Ut dictum enim quis purus. Praesent in erat. Pellentesque laoreet neque vitae orci. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Donec tincidunt, lectus id porttitor hendrerit, nisi sapien egestas ante, mollis hendrerit dui nisi ac nisl. Integer mi lacus, tempor in, sagittis at, ultricies sollicitudin, massa. Proin odio arcu, hendrerit quis, pharetra vitae, ornare eu, dui. Nullam fermentum. Ut fermentum aliquet magna. Etiam sed metus. Fusce in orci sit amet mi tempor pellentesque. Etiam ultrices tempor pede. Sed nec odio.
</div>

</body>
Sccrguy13



Joined: 07 Oct 2005
Posts: 3

PostPosted: Fri Oct 07, 2005 2:55 pm     Reply with quote

Many many thanks, but I need to know, does this work for myspace?
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8267
Location: Castle Rock CO USA

PostPosted: Fri Oct 07, 2005 3:17 pm     Reply with quote

I am not familiar with that site but if you are able to write your own HTML, then the answer would be yes.
Sccrguy13



Joined: 07 Oct 2005
Posts: 3

PostPosted: Fri Oct 07, 2005 4:00 pm     Reply with quote

yeah thanks alot, i figured it out, it works just fine
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8267
Location: Castle Rock CO USA

PostPosted: Fri Oct 07, 2005 4:04 pm     Reply with quote

Anytime - good luck with the site!
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial