<p>I have a web page that displays a long line graph inside a div with overflow-x: scroll.
This works well as a web page allowing the use to scroll back and forward through the graph.</p>

<p>However, when printing the page the scroll position is reset to zero.
Is there a way to overcome this?</p>

I think you're going to have to specify an alternate CSS for printing where you somehow need to remove the overflow:
```
```
<link rel="stylesheet" type="text/css” href="sheet.css" media="print" />
```
```
However, maybe there is an approach with JavaScript or even Flash? If I understand correctly, you only want to have a part of the graph printed (the one "selected" by the user?) and not the full one? I'm pretty sure that's not possible with plain HTML/CSS, but I strongly believe that Flash or maybe JavaScript/AJAX (to only load a part of the image at a time) can solve it.