Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
Include Page
css button_web20_openidstyle
css button_web20_openidstyle
HTML

<a class="button" href="#" onclick="this.blur();"><span>Пример кнопки</span></a>
Section
Wiki Markup
{style} .clear { /* generic container (i.e. div) for floating buttons */ overflow: hidden; width: 100%; } a.button { background: transparent url('http://www.teamlead.ru/download/attachments/63242325/webbutton_a.png') no-repeat scroll top right; color: #444; display: block; float: left; font: normal 16px arial, sans-serif; text-shadow:1px 1px 0 white; height: 42px; margin-right: 5px; padding-right: 20px; /* sliding doors padding */ text-decoration: none; } a.button span { background: transparent url('http://www.teamlead.ru/download/attachments/63242325/webbutton_span.png') no-repeat; display: block; line-height: 32px; padding: 5px 0 5px 20px; } a.button:active { background-position: bottom right; color: #000; outline: none; /* hide dotted outline in Firefox */ } a.button:active span { background-position: bottom left; padding: 6px 0 4px 20px; /* push text down 1px */ } {style}
Code Block
titleКод кнопки
langhtml

{html}
<a class="button" href="#" onclick="this.blur();"><span>Пример кнопки</span></a>
{html}