Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 11-10-2004, 01:27 AM   #1 (permalink)
dirs
Registered User
 
Join Date: May 2004
Posts: 40
dirs is on a distinguished road
scroll on list

Any body here who knows how to get vertical scroll on the list. I know that u can div tag to get scroll on whole table but I want scroll only on the list and not on the table menu and search row in the table.
dirs is offline   Reply With Quote
Old 11-10-2004, 09:36 AM   #2 (permalink)
buchannon
Registered User
 
buchannon's Avatar
 
Join Date: Nov 2004
Posts: 43
buchannon is on a distinguished road
You could just create a text area form and put the stuff in there?
buchannon is offline   Reply With Quote
Old 11-10-2004, 11:00 AM   #3 (permalink)
ender
Code Monkey
 
ender's Avatar
 
Join Date: Mar 2003
Location: Evansville, IN
Posts: 75
ender is on a distinguished road
Send a message via AIM to ender Send a message via Yahoo to ender
You can use CSS to get scrollbars on most things. It is the overflow style on an element. For example:

Code:
div {
    overflow: scroll;
}
Will force any div element to scroll any content that is not in its area. This applies vertically and horizontally. You can use this to scroll your list. The thing with this is, though, that I believe that you should force your element to have a width and height, since it will not know how big to make the area before it starts scrolling.

Hope this helps.

-Ted
__________________
while(1) fork();
ender is offline   Reply With Quote
Old 11-14-2004, 05:28 AM   #4 (permalink)
dirs
Registered User
 
Join Date: May 2004
Posts: 40
dirs is on a distinguished road
Thanks for the reply!
I tried to put that div block under css but didn't help much. Now instead of using one table I ues two table , one for heading and one for the list. I use div on the list table to get scroll. But then I have to fix/adjust the size of columns.
Do u know about any other way to get scroll so that I dont have to worry about the size of column??
dirs is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacking your Linksys WRT54G sde Linux / BSD / OS X 18 04-20-2005 04:37 PM
linked list problem if13121 Standard C, C++ 3 11-12-2004 09:58 AM
Code For Displaying files in List Box shash MS Technologies ( ASP, VB, C#, .NET ) 1 08-23-2004 10:53 PM
Linker errors on my linked list... Danish Standard C, C++ 1 03-02-2003 08:59 PM


All times are GMT -8. The time now is 02:00 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting