emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Stop inserting default CSS in HTML export?
@ 2011-05-17 16:34 amscopub-mail
  2011-05-17 17:05 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: amscopub-mail @ 2011-05-17 16:34 UTC (permalink / raw)
  To: emacs-orgmode

How can I get org-mode to stop inserting the default CSS in the HTML export?

By default, exporting to HTML gives me this CSS defined in the header. I'd like to...well, *not* have it included in the HTML.

<style type="text/css">
 <!--/*--><![CDATA[/*><!--*/
  html { font-family: Times, serif; font-size: 12pt; }
  .title  { text-align: center; }
  .todo   { color: red; }
  .done   { color: green; }
  .tag    { background-color: #add8e6; font-weight:normal }
  .target { }
  .timestamp { color: #bebebe; }
  .timestamp-kwd { color: #5f9ea0; }
  .right  {margin-left:auto; margin-right:0px;  text-align:right;}
  .left   {margin-left:0px;  margin-right:auto; text-align:left;}
  .center {margin-left:auto; margin-right:auto; text-align:center;}
  p.verse { margin-left: 3% }
  pre {
	border: 1pt solid #AEBDCC;
	background-color: #F3F5F7;
	padding: 5pt;
	font-family: courier, monospace;
        font-size: 90%;
        overflow:auto;
  }
  table { border-collapse: collapse; }
  td, th { vertical-align: top;  }
  th.right  { text-align:center;  }
  th.left   { text-align:center;   }
  th.center { text-align:center; }
  td.right  { text-align:right;  }
  td.left   { text-align:left;   }
  td.center { text-align:center; }
  dt { font-weight: bold; }
  div.figure { padding: 0.5em; }
  div.figure p { text-align: center; }
  textarea { overflow-x: auto; }
  .linenr { font-size:smaller }
  .code-highlighted {background-color:#ffff00;}
  .org-info-js_info-navigation { border-style:none; }
  #org-info-js_console-label { font-size:10px; font-weight:bold;
                               white-space:nowrap; }
  .org-info-js_search-highlight {background-color:#ffff00; color:#000000;
                                 font-weight:bold; }
  /*]]>*/-->
</style>

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

* Re: Stop inserting default CSS in HTML export?
  2011-05-17 16:34 Stop inserting default CSS in HTML export? amscopub-mail
@ 2011-05-17 17:05 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2011-05-17 17:05 UTC (permalink / raw)
  To: amscopub-mail; +Cc: nicholas.dokos, emacs-orgmode

amscopub-mail@yahoo.com wrote:

> How can I get org-mode to stop inserting the default CSS in the HTML export?
> 
> By default, exporting to HTML gives me this CSS defined in the header. I'd like to...well, *not* have it included in the HTML.
> 

Does footnote (2) of section 12.5.9,  "CSS support", of the Org manual
help?

Nick

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

end of thread, other threads:[~2011-05-17 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 16:34 Stop inserting default CSS in HTML export? amscopub-mail
2011-05-17 17:05 ` Nick Dokos

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).