Microsoft Most Valuable Professional

Chris Pietschmann

An MVP From Wisconsin



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>

 

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: General
Posted by crpietschmann on Tuesday, July 25, 2006 9:59 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Related posts

Comments are closed

About the author

I'm Chris Pietschmann, go to the About Me page to learn more about me.

Search

Sponsors

Web.Maps.VE - ASP.NET AJAX Virtual Earth Mapping Server Control

Recent comments

Disclaimer


This work is licensed under a Creative Commons Attribution 3.0 United States License, unless explicitly stated otherwise within the posted content.
© Copyright 2004 - 2008 Chris Pietschmann