Reply to OBJECT: size rendering

Your name:

Reply:


Posted by Hans Dietmar Jaeger on 11/15/05 16:49

Hello again, you helped me out with the OBJECT-tag, thanks. But I can't
find anything about who the size of the OBJECT to be rendered is
calculated:-|

Ok, if the OBJECT is an image, it's it natural size (defined in the
header of the OBJECT). But now the OBJECT is a HTML-page; and this page
consist of javascript code to build the HTML-source!

I embedded an OBJECT with type text/html that consisted of only one
simple plain HTML code: <font color="#ff0000">hello world!</font> It ist
displayed correctly. But I do not gave an width/height attribute to the
OBJECT-tag:
<object border="1" type="text/html" data="object_text.html"></object>

border attribute only to see the size of the rendered object. And that
is much more than the natural size of the HTML code!

Ok, when the size cannot be calculated on-the-fly, I will give an
expicit width/height-attribute; but these attributes must be calculated
regarding the actual font size (height/width/style)! How can I do this?!

Perhaps the flexibility of the OBJECT-tag is not intendet to do those jobs.

Any comments/help?

Thank you,

jagger
--
www.jaggger.de

[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

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