MozillaZine

Talk:Keyconfig extension: Firefox

From MozillaZine Knowledge Base

Revision as of 08:34, 14 June 2005; view current revision
←Older revision | Newer revision→

I'd propose a simpler layout for these lists:

in MediaWiki:Monobook.css:

div.predefs dl dd {
  /* import the styles for pre */
  font-family: monospace;
  border: 1px dashed #2f6fab;
  color: black; padding: 1em;
  background-color: #f9f9f9;
  line-height: 1.5em;
}

and then in the content:

<div class="predefs"> <!-- wrapper around the entire list -->


;Close current Tab
:var tab = gBrowser.mCurrentTab;
:gBrowser.removeTab(tab);

;Do something else
:var tab = gBrowser.mCurrentTab;
:gBrowser.removeTab(tab);

</div>

Gwicke 01:34, 14 Jun 2005 (PDT)