Reply to aligning typeset graphics to text baselines

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация