Beispiel:
Quelltext:
<!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" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Horizontaler Scrollbalken für ein DIV</title>
<style type="text/css">
div#thumbs {
height:40px; /* must be set due to IE height calculation */
overflow: auto;
overflow-y: hidden;
white-space: nowrap;
}
</style>
</head>
<body>
<div id="thumbs">long div that is scrollable independently from the browser window *
langer div Tag, der unabhängig vom Browserfenster scrollbar ist</div>
</body>
</html>