We solved this problem many years ago with PDF.
HTML5 and related technologies probably have the most promise in this sector though due to the large amount of cross-device styling and customization that can be done with CSS3 and JavaScript.
Then your Kindle is not a full featured reading device. The Kindle's opted to imitate a black and white textual book (the e-paper thing), when future ebooks can are will be much more than that.