Posted by Chris Chiasson on 11/20/06 05:24
situation:
placing an inline graphic of some mathematics typesetting (an equation
or whatever) in an html (not xhtml) environment
assume the dpi of the user's screen is known
assume the baseline to image-bottom distance is known (in printer's
points)
Is there any combination of html markup or markup + css that will cause
browsers to place the image so that its internal baseline aligns with
that of the surrounding text (or at least comes close)?
Follow up (assuming the above is possible):
Is there any way to detect the dpi of the user's screen, perhaps
through the use of java script? (obviously, most Windows user's screens
behave as if they are rendering at 90dpi, even if that isn't the
physical dpi of the screen+resolution combo... so 90 would be a good
guess)
[Back to original message]
|