Ask Your Question

Can I use an external CSS in a LO HTML document?

asked 2016-11-23 21:48:37 +0200

cbelinsky gravatar image

I created an HTML document that links to an external CSS. When I save the HTML document in LO Writer, the external CSS link disappears and the external CSS is turned into internal CSS.

I am creating an online course and I want to give my instructors the ability to make quick edits in a familiar program, while keeping the ability for me to make broader style changes that cascade through all document.

thanks much!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-11-23 22:21:59 +0200

cbelinsky gravatar image

Well, I found a workable solution. The extension Writer2XHTML allows the addition of an external CSS. This option is at Tools -> Options ->Writer2xhtml -> Style sheets

This means people have to export the HTML file as opposed to saving it -- not a big deal. This also means that they cannot see the styles on the document while they are editing it -- a bigger deal but not a showstopper.

Still wish I could force LibreOffice to keep external CSS links.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-11-23 21:48:37 +0200

Seen: 954 times

Last updated: Nov 23 '16