[Home]WikiSuggestions/CSSIncludeSpan

UseModWiki | WikiSuggestions | RecentChanges | Preferences

If span tag is include, allows better customizing in headers (h1, h2, ...).

Color-background around text and not in the whole line is possible through span into h1.

It implies changes in code as

 if ($id and $backlinks) {
    $result .= $q->h1('<span class=header>' . &GetBackLinksSearchLink($id) . '</span>');
  } else {
    $result .= $q->h1('<span class=header>' . $title . '</span>');
  }

but is pretty interesting for design. --JuanmaMP


UseModWiki | WikiSuggestions | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited July 25, 2009 2:18 pm by JuanmaMP (diff)
Search: