Css absolute position don't work in MS WORD

Posted by Tim on Super User See other posts from Super User or by Tim
Published on 2010-05-27T09:01:25Z Indexed on 2010/05/28 18:53 UTC
Read the original article Hit count: 393

Filed under:
|
|
|

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

© Super User or respective owner

Related posts about css

Related posts about msword