Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE DREAMWEAVER: HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

Fixed size table with scrollbar

Cow Forums : Adobe Dreamweaver

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
Fixed size table with scrollbar
by joseph Wilkins on Feb 26, 2008 at 12:03:03 am

Hello,

I have a website I am working on that I created in Photoshop using images and tablecells.

In one part of the page, I want to put a scroll box with text in that scrolls and the border is a fixed size.. how is this done?

thanks

Respond to this post   •   Return to posts index

cowcowcowcowcow
Re: Fixed size table with scrollbar
by Abraham Chaffin on Feb 26, 2008 at 4:13:17 pm

You should use a div inside of your table cell to create the desired effect. Making a table cell have a scroll bar doesn't always work.

Here's the code and an example:


<div style="overflow: auto; height: 100px; width: 200px;">Put your text or images or anything in here.</div>



This text is a fixed size because it is inside of a div with style applied to it of style="overflow: auto; height: 100px; width: 200px;"

This text is a fixed size because it is inside of a div with style applied to it of style="overflow: auto; height: 100px; width: 200px;"



Abraham

Respond to this post   •   Return to posts index

Re: Fixed size table with scrollbar
by Ben Rees on Mar 4, 2009 at 6:43:41 pm

hi thanks for the post was exactly what i was looking for... however, please excuse the stupidity but how do i got about aligning the tabel left, because when i try to it seems to rip apart my webpage. If it helps i made my web page in photoshop, sliced it up and imported into dreamweaver as a html file and a floder of images, i then cut out the body of the page and inserted a div tag to fill the space, i then created a template and made this main div tag an editable region, could this be what is causing the problem? If someone could point me in the right direction i would greatly appreciate it... cheers.



Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]