6

I find that when I upload Styled HTML to Google Docs, eg. with CSS

.underline { text-decoration: underline; }
.del { text-decoration: line-through; }
mark { background: yellow } 

None of these will take effect. However if I use CSS produced when downloading a Google Docs as HTML like

.c9 {
    text-decoration:underline;
}

It works. Can I say that Google does not take into considerations any CSS?

  • What about inline CSS? – digitxp Jan 1 '11 at 4:27
1

The latest version of Google Docs strips (most) CSS and the feature to edit HTML or edit CSS will not be returning.

https://docs.google.com/support/bin/answer.py?answer=176442

I presume this is done to maintain consistency across multiple devices, especially mobile, which now supports document editing.


Here's another discussion with a possible (temporary) workaround:

0

Have you tried to add : !important like

underline {text-decoration: underline !important;}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.