function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Draw a rectangle on a VF page rendered as Word document?

I am trying to draw a box with css div tag on a visualforce page which is rendered as Word document. 


<div style="background: #fff;border: 2px solid black; height: 100px;   margin: 20px;  padding: 20px;  width: 100%;"> 


This just generates 2 lines one on top and other on bottom with the lines extending only half way through the word document. Can someone please help me  resolve this issue?