scrollable content
Hi,
Does any one know how I go about creating a scrollable section of a web page?
I have looked at using nested frames but this doesnt seem to be the answer.
I have quite a compact looking web page however there will be an area of the site where the content will out stretch the boundaries of my current design which is why I need a scroll bar for that specific area of cotent.
Please have a look at the site as this may help you to understand whatIm going for.
{link removed because of malware}
I have also attached an image to help explain what I mean.
Cheers
Attachment | Size |
---|---|
scrollable demo.gif | 74.13 KB |
Megan posted this at 14:17 — 5th February 2009.
She has: 11,421 posts
Joined: Jun 1999
Try overflow:auto or overflow:scroll in CSS.
decibel.places posted this at 15:07 — 5th February 2009.
He has: 1,494 posts
Joined: Jun 2008
Hi taylorosso,
Welcome to TWF!
Unfortunately, my Avast antivirus detected a worm/trojan named "VBS:Malware-gen" on your web site...
another approach would be including the content in an iframe, but the overflow method Megan suggested is preferable
(The iframe element is not supported in HTML 4.1 Strict DTD and in XHTML 1.0 Strict DTD.)
pr0gr4mm3r posted this at 15:21 — 5th February 2009.
He has: 1,502 posts
Joined: Sep 2006
Hi taylorosso,
I removed the link in your post because of the malicious Javascript in order to protect TWF members (nice catch, decibel.places). The link can be reposted once that Javascript at the end of the page is removed from your site.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.