If you must,
(setq org-export-html-style-default "")
But I would recommend to simply overwrite everything you need with your own style.
- Carsten On Oct 23, 2008, at 11:23 AM, Larry.Liu wrote: Hi,On Thu, Oct 23, 2008 at 11:51 AM, Manish <address@hidden> wrote: This thread might help. http://thread.gmane.org/gmane.emacs.orgmode/7156
The variable org-export-html-style-extra works fine, customized css contents can be added to the html file, but Org-mode will not remove the automatically generated style codes, what I am wondering is how can I remove the style part added by Org-mode, it will append the follow css definition always. I think it is added by the org-info-js extension, because we can see such name in the style definition below. <style type="text/css"> html { font-family: Times, serif; font-size: 12pt; }
.title { text-align: center; } .todo { color: red; } .done { color: green; } .tag { background-color:lightblue; font-weight:normal } .target { } .timestamp { color: grey } .timestamp-kwd { color: CadetBlue }
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; } dt { font-weight: bold; }
.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> On Thu, Oct 23, 2008 at 10:25 AM, Larry. Liu wrote: > Hi, > > I want to remove the css style codes generated automatically by Org-mode in > the exported html file, I have set the variable style for html export and > itself works fine, but the css definition generated by Org-mode > automatically doesn't get removed, and it affects the display of exported > file, how can I remove it? > > Thanks :) > > -- > -------------------------------------- > Larry.Liu > Mobile: 13911483964 > ---------------------------------------
-- -------------------------------------- Larry.Liu Mobile: 13911483964 --------------------------------------- _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. address@hidden http://lists.gnu.org/mailman/listinfo/emacs-orgmode
|