[Mediawiki-l] Inline link color change? (Wikipedia Portals)

Bass, Joshua L joshua.l.bass at lmco.com
Sun Apr 23 13:32:09 UTC 2006


Ok, I am trying to duplicate the Portal usage as seen on Wikipedia. I
have successfully created the templates needed, and altered them for my
site. I am having a few minor problems. 

1. When using Firefox, the heading colors change with the template as
they should. The header text remains black under IE.

2. I cannot change the 'edit' link color. It appears they are using a
<span> with an inline font color change, but it is not working on my
site for the links, only the text.

Link to Portal: http://www.350z-tech.com/zwiki/Portal:350Z

The layout code looks like this:

<!-- BEGIN -->

__NOEDITSECTION__ __NOTOC__

<!-- THIS IS TO SEPARATE SECTIONS -->

<div style="clear: both;"></div> 

<!-- BEGIN THE TITLE BLOCK -->

<div style="position: relative;<!--
         -->border: 1px solid
{{{titleborder|{{{border|#ababab}}}}}};<!--
         -->background: {{{titlebackground|#bcbcbc}}};<!--
         -->color: {{{titleforeground|#000000}}};<!--
         -->padding: .1em;<!--
         -->text-align: center;<!--
         -->font-weight: bold;<!--
         -->font-size: 100%;<!--
         -->margin-bottom: 0px;<!--
         -->border-bottom: none;<!--
         -->-moz-border-radius-topleft:.7em;<!--
         -->-moz-border-radius-topright:.7em;"><!--
  --><span class="plainlinks" <!--
      -->style="position: absolute;<!--
             -->top: 1px;<!--
             -->right: 1px;<!--
             -->background: transparent;<!--
             -->border: 0px;<!--
             -->margin-bottom:0em;<!--
             -->font-size:80%;<!--
             -->font-weight: normal;"><!--
    --><font
color="{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|/}}}|action
=edit}} edit]</font>&nbsp;<!--
  --></span ><!--
  --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0;
padding:0; padding-bottom:.1em;"><font
color="{{{titleforeground|#000000}}}">{{{title}}}</font></h2><!--
--></div>
<!-- END THE TITLE BLOCK -->

<!-- BEGIN THE CONTENT BLOCK -->

<div style="display: block;<!--
         -->position: relative;<!--
         -->border: 1px solid {{{border|#ababab}}};<!--
         -->vertical-align: top;<!--
         -->background: {{{background|#fefeef}}};<!--
         -->color: {{{foreground|#000000}}};<!--
         -->margin-bottom: 10px;<!--
         -->padding: .3em;<!--
         -->margin-top: 0em;<!--
         -->padding-top: 0em;<!--
         -->-moz-border-radius-bottomleft:.7em;<!--
         -->-moz-border-radius-bottomright:.7em;"><!--
-->

<!-- CONTENT GOES HERE -->

<div style="clear:both;"></div>
</div>

<!-- END THE CONTENT BLOCK -->

<!-- END -->




More information about the MediaWiki-l mailing list