If this is for Publish Online, you get what you get. You can take your content to the outside border and if Publish Online doesn't display it the way you want, well, that's its drawback.
What you seem to be looking for here is called Full Bleed. In Document Setup set your margins to 0 and add an amount for Bleed under the Bleed and Slug section (.125" or 3 mm is typical) which will add a guide outside the page area.
For printed files your images or colored backgrounds must extend beyond the page edge, and the document mut be printed on a larger sheet, then trimmed after printing. Most desktop and office printers cannot print edge-to-edge even if the image extends that far, so if this is being printed on a typical printer you may have set up correctly, but the edge of the image is simply lost due to printer technology.
If the intent is for screen, you don't need to extend the image beyond the page edge.