Talk:Keyconfig extension: Firefox
From MozillaZine Knowledge Base
I'd propose a simpler layout for these lists:
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)