Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 14-05-2009
Member
 
Join Date: Mar 2009
Posts: 27
How to create scrollbar around the table in HTML

I am building a website in HTML & suddenly i realized that i have forgotten the code of creating the scroll bar around the table. My client needs it..!

Can Anyone Please Help!
Reply With Quote
  #2  
Old 14-05-2009
Member
 
Join Date: May 2008
Posts: 2,383
Re: How to create scrollbar around the table in HTML

Just Copy & Paste The Code In Side The Table Row, Column, Etc.

Code:
<div style="overflow:auto; height:556px;width:564px;">
Then Adjust The Height And Width as per your requirement.

Put the script for the content right after, then this code below it:

Code:
</div>
Reply With Quote
  #3  
Old 14-05-2009
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: How to create scrollbar around the table in HTML

What you need to use a frame. Put the table in it's have the HTML file by itself, then make a frame for your main page with the HTML file as the target. You can make all the frame size and if the table is larger than the frame, scroll bars are automatically implemented.
Reply With Quote
  #4  
Old 14-05-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: How to create scrollbar around the table in HTML

Formating the format as per you requirement & then copy & paste to the page you want.

Code:
<div style="border:1px yellowgreen solid; width:300px; height:100px; overflow:auto;">
Content as per your requirement
</div>
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to create scrollbar around the table in HTML"
Thread Thread Starter Forum Replies Last Post
How to Add scrollbar to bottom of HTML Slender Software Development 5 22-01-2010 08:25 PM
How to Set table with Html Background? Aakarshan.d Software Development 3 26-11-2009 01:22 PM
Create html table from excel file Laler Windows Software 3 26-06-2009 08:44 AM
How to Create super thin table borders in html CAILYN Software Development 3 18-06-2009 11:41 PM
How to hide Horizontal scrollbar in HTML & CSS KaramChand Software Development 3 13-02-2009 08:12 PM


All times are GMT +5.5. The time now is 11:58 PM.