How to create a scrollable Div Tag Vertically?
Well, your code worked for me (running Chrome 5.0.307.9 and Firefox 3.5.8 on Ubuntu 9.10), though I switched overflow-y: scroll; to overflow-y: auto; Demo page over at: http://davidrhysthomas.co.uk/so/tableDiv.html. xhtml below: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”> <head> <META http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> <title>Div in table</title> <link rel=”stylesheet” type=”text/css” href=”https://stackoverflow.com/questions/2295766/css/stylesheet.css” /> … Read more