Css absolute position don't work in MS WORD
Posted
by Tim
on Stack Overflow
See other posts from Stack Overflow
or by Tim
Published on 2010-05-27T09:01:25Z
Indexed on
2010/05/27
9:01 UTC
Read the original article
Hit count: 171
Hello! This is a sample:
<html>
<head>
<title>word test</title>
</head>
<body>
<div style='position: absolute; width: 30px; height: 50px; top: 100px; left: 20px; border-color: black; border-width: 1px; border-style: solid;'>
<p>Hello!</p>
</div>
</body>
</html>
Save it as "word.doc" and open in MS WORD.
Absolute position don't work!
Div is rendered on the top of document and with 100% width. Why? I can't use a html tables.
Version on ms word: 2003
© Stack Overflow or respective owner