PDA

Click to See Complete Forum and Search --> : I'm sure you all know this...


captain spanky
12-13-2005, 03:21 PM
is it possible to add a vertical scroll bar to a cell in a table?
or if i wanted to do that are we talking about using frames?

I don't know much about web design TBH and I'm only as far as creating my whole site with nested tables. I don't have a lot of content but i hope to add some as and when i can be bothered and i was thinking about having a menu of 'recent added work' in a scrolly box on my main page rather than having to re-do everything...
The idea is this... imagine the page divided into three un-equal columns. The first column - a title, the second column - a random image and the third column - a scrolly menu with links to other pages. Didn't want to use frames so made it all in tables but now realised that one cell is going to muss everything up if i can't make it go all scrolly. And i don't know enough on flash to create it all in that either. Anyone got any sensible ideas what i could do? :)

JPnyc
12-13-2005, 04:02 PM
put overflow:scroll in the css for that element.

captain spanky
12-13-2005, 04:40 PM
in the whatnow?

that really does sound simple.. but i havent got a clue how to actually do that... sorry. :(

EC
12-13-2005, 05:06 PM
http://www.quirksmode.org/css/overflow.html

http://www.w3schools.com/css/pr_pos_overflow.asp

This message has been brought to you by Google.

captain spanky
12-13-2005, 05:21 PM
sorry, i should have been clearer.
I know OF css... i have a basic understanding of what it does.. i just don't know how to put anything into practice.
I made my site in dreamweaver but not once touched the css button. I've just tried it now and it made me go all dizzy. It asked if i wanted to create a new style.. then it gave me a load of letters and stuff i don't understand. i cant find anything relating to a table element or even tables in general...

Sorry. I feel like the guy who took a jet engine to bits and now has to walk to the shops 'cos i broke the plane...

ecsyle
12-13-2005, 05:38 PM
First, stop using "design" mode and go into "code" view. In the head of your page add this:

<style type="text/css">
.column3{overflow:scroll;}
</style>

The style should go inbetween the <head> tags.
Then find your table cell and add a class attribute to it:

<td class="column3">

JPnyc
12-13-2005, 05:46 PM
You'll also need to add height and width for the element. Otherwise IE will just expand it to fit the content

ecsyle
12-13-2005, 05:57 PM
Ah, yeah. Forgot that part...

JPnyc
12-13-2005, 06:10 PM
And don't forget the sacrifice to Bill either.

chris_bcn
12-13-2005, 07:46 PM
This is a great place to start - nice and clear. It's how I first learned about CSS

http://www.createwebmagic.com/css101/

once you've got the hang of it a bit more

http://css.maxdesign.com.au/floatutorial/