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?

link|improve this question

0% accept rate
What about inline CSS? – digitxp Jan 1 '11 at 4:27
feedback

2 Answers

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:

link|improve this answer
feedback

Have you tried to add : !important like

underline {text-decoration: underline !important;}

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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