[thelist] iFrames - validity

elvelind Grandin elvelind at elendor.com
Wed Mar 5 13:20:02 CST 2003


Koutoulas, Pete wrote:

>On Wednesday, March 05, 2003 1:06 PM, .jeff wrote:
>
>
>
>>use neither.  instead, use a <div> with a height specified and
>>overflow set to auto. now all the content is on a single page, but
>>the stuff in the div has os-rendered scrollbars like an iframe.
>>
>>
>
>I didn't know you could do that with a div!
>Very cool... thanks Jeff er, .jeff :-)
>
>

Even cooler is the fact that it's degrace nicely. If the browser don't
understand overflow: auto, it'll just expand the div. Instead of not
showning it at all as with the iframe.
/elvelind


>    [ pete ]
>
>This student or staff email originated from Fayette County Public Schools in
>Lexington, KY.
>Please report instances of abuse or inappropriate content to
>postmaster at fcps.net
>
>
>





More information about the thelist mailing list