Chris Pietschmann

husband, father, hacker, entrepreneur, futurist, innovator, autodidact


CSS + DIV = Scrollable area for site content

Using the CSS Overflow property you can create a box of scrollable content in your page without using an IFrame. This means you can have the same visual and usability effect that an IFrame offers and still be search engine friendly.

Here's some example HTML w/ CSS:

<div style="overflow: auto; width: 200px; height: 50px; border: solid 1px blue;">
It's just this simple to do.
It really is!
Isn't CSS great?</div>


blog comments powered by Disqus