emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* exporting org to html & using an external css stylesheet
@ 2012-03-15 23:19 Zachary Jones
  2012-03-16 10:57 ` Christian Moe
  0 siblings, 1 reply; 2+ messages in thread
From: Zachary Jones @ 2012-03-15 23:19 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

I am trying to set up a website using org-mode and would like to use an external css stylesheet. I am currently using the #+STYLE: option with the argument <link rel="stylesheet" type="text/css" href="./stylesheet.css" />. The exported html documents seem to be using the default org-mode styling though. I can't seem to get the exported html documents to recognize and use the css. Help! 

-- 
Zachary M. Jones


[-- Attachment #2: Type: text/html, Size: 662 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: exporting org to html & using an external css stylesheet
  2012-03-15 23:19 exporting org to html & using an external css stylesheet Zachary Jones
@ 2012-03-16 10:57 ` Christian Moe
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Moe @ 2012-03-16 10:57 UTC (permalink / raw)
  To: Zachary Jones; +Cc: emacs-orgmode

1. Does the <link .../> show up in the HTML source of the exported 
document? Is the relative URL correct?

2. Wild guess: Are you perhaps expecting the default org-mode 
stylesheet to go away? It doesn't; default styles will still be shown 
if they are not specifically superseded by those you add. To turn off 
the defaults altogether, customize org-export-html-style-include-default.

Yours,
Christian

On 3/16/12 12:19 AM, Zachary Jones wrote:
> I am trying to set up a website using org-mode and would like to use
> an external css stylesheet. I am currently using the #+STYLE: option
> with the argument <link rel="stylesheet" type="text/css"
> href="./stylesheet.css" />. The exported html documents seem to be
> using the default org-mode styling though. I can't seem to get the
> exported html documents to recognize and use the css. Help!
>
> --
> Zachary M. Jones
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-16 10:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-15 23:19 exporting org to html & using an external css stylesheet Zachary Jones
2012-03-16 10:57 ` Christian Moe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).