Thanks for this. I might add that "drawing a rectangle" with the select elements tool (black arrow pointer) instead of the select tool (white arrow with blue and white pointer) would do the job.
If this issue hasn't been solved, here's how I fixed mine when I encountered this same problem. Draw a rectangle on the line(s), like if you're selecting elements. You won't see any visible indication that it's selected but that�??s okay. Mouse right click on the white portion of the screen and choose Delete.
I agree. No sense at all, but hey if it works... !
I am not sure what technically those green lines are but I am pretty sure its an artifact on page layout after objects indexing going wrong. What I mean by this is that ArcObjects logic enumerates all items on the page and assigns order number. The logic of ArcObjects that are under any Python module in Arcgis use COM libraries that follow logic more specific to C#, Java, VBA etc. In the past, if Python tools interacted with this framework it was not always 100% compatible and sometimes accessing ArcObjects related to page view container elements and editing/inserting/removing would result in improper reindexing elements within the page container because some mechanism was not chained and did not triggered. This happened to me multiple times when I was developing Python solutions with Comtypes that operated on ArcObjects libraries (I know long time ago- no need to do this now since arcpy api gets better). What I found to work in individual MXD was to select all page elements COPY and PAST (or even UNDO). After this operation elements in the page container are reindexed in the proper way by normal ArcObjects and all go back to normal. Word of warning, if you have green lines on your page layout- remove them this way or another. Broken indexing means that some page object/elements are in a wrong state and may disappear or breake you mxd.
Try deleting every element in the Layout View and then re-adding it or undoing the delete. I had three green lines (not the blue guide lines) on my Layout view. Two in the bottom left hand corner of the screen and one diagonal line going from the top left to the bottom right. I deleted everything (data frame, text boxes, images) and re-added them or undid the delete and the lines were gone.