Log in

View Full Version : scroll, frame how to do this



khalilok
04-11-2009, 02:26 AM
Hey...

I am beginner and I'd like to create a scroll like this one in this website.

http://www.emelbayram.com/index2.html

I did put the pictures in a table within a div but then the scroll bar for the hall site how I can specify it just for the pictures??

Thank you

Snookerman
04-11-2009, 05:32 AM
Try giving the div the following CSS rule:

overflow: scroll;
If it doesn't work, you might have to give it a width of 100%.

Good luck!

maxkriz
04-13-2009, 07:43 PM
The above advice should work. I would like to add that tables are outdated, and should not be used with divs. Everything you can do with a table layout can also be done using the CSS properties. For a beginner, you should check out float, margin, and padding properties. Typing in "CSS examples" in google will give you some good resources to get started.