Is it possible to create scrollboxes w/o tables?

Recommended Answers

All 4 Replies

Sure, define any <div> in your CSS file, which will have width and height properities + overflow setting, if is content bigger than box. Something like this:

#box {
	width: 200px;
	height: 400px;
	background: #F2F2F2;
	border: 1px solid #DDDFFF;
	overflow: scroll;
}

Sure, define any <div> in your CSS file, which will have width and height properities + overflow setting, if is content bigger than box. Something like this:

#box {
	width: 200px;
	height: 400px;
	background: #F2F2F2;
	border: 1px solid #DDDFFF;
	overflow: scroll;
}

WOW!!! I spent so much time making an iFrame for the first time. That's so much easier! At least I learned more about iframes. Thank you.

is there any way to get rid of the bottom scroll bar or am i pretty much stuck w/ it?

Replace overflow: scroll; with

overflow: auto;

:) Scrollbars will be dependent on content.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.