Posted by Hans Dietmar Jaeger on 11/15/05 18:03
Spartanicus wrote:
> Ergo when embedding HTML you should always specify a width and height
> for the viewport established by the object element via the width and
> height attributes on the object element. Since you can only specify a
> size in pixels that way, you could elect to also specify a width and/or
> height with CSS, in which case you have other units available.
Ok, thank you, that works fine and I think I got the point; I changed
the source code to:
<style type="text/css">object.test {height: 3em;width: 50%;}</style>
<object class="test" border="1" type="text/html"
data="object_text.html"></object>
Have a look at http://www.tcs.informatik.uni-muenchen.de/~hdjaeger/
AND NOW IT WORKS correct! WOW!
If you change the browsers font-size by CTRL-+ or CTRL-- the size of the
OBJECT-box is scaled properly!
That is excactly what I needed! Thanks a lot!
jagger
P.S.: Now I only have to adjust the top-/...-margins of the border to
fit my individual taste:-)
--
www.jaggger.de
[Back to original message]
|