set scrollTop and scrollLeft without javascript
问题 I have a question about the scrollTop and scrollLeft properties. I would like to set these properties in my div without using JavaScript (jquery). Is this possible? My problem is, I have a program which interprets the HTML code and the divs which I scrolled have the value zero when the program interpret the code. The program can't read the scrollTop or scrollLeft value. Exists a HTML-tag like: <div scrollLeft="300" scrollTop="200"></div> 回答1: I'm afraid that this is not possible using CSS