Use redundant border declarations for pasted Google Docs tables
When styled HTML tables are pasted into Google Docs, declare borders redundantly at both table and cell level: use legacy table attributes such as border, bordercolor, cellpadding and cellspacing alongside inline CSS for border, border-collapse, padding and background color. Google Docs does not preserve every HTML/CSS path consistently, so relying on only one representation can yield invisible or uneven borders after export. Keep the rule limited to paste/import workflows; native Docs table formatting may behave differently.
Applies when: Generating richly formatted Google Docs content by pasting HTML. Keywords: Google Docs HTML paste table borders CSS DOCX export