Embodiments of techniques for moving visible content elements of at least one markup language document within a display area in response to user input moving a cursor of a pointing device. Visible content elements of the markup language document may be moved in a display area based at least in part on an amount by which a content area that includes the visible content elements extends outside of the display area. For example, a panning facility may determine an amount by which to shift visible content elements in the display area based at least in part on an amount by which a content area that includes the visible content elements extends beyond the display area. The panning facility may move the visible content elements by instructing a viewing application to scroll the visible content elements within the display area.