[Mediawiki-l] Inline link color change? (Wikipedia Portals)
Bass, Joshua L
joshua.l.bass at lmco.com
Sun Apr 23 14:42:54 UTC 2006
Perhaps a simpler question would be how to change a link color inline.
This code does not work:
<font color='#XXXXXX'>[[wiki link]]</font>
-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Bass, Joshua L
Sent: Sunday, April 23, 2006 8:32 AM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Inline link color change? (Wikipedia Portals)
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> <!--
--></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 -->
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
More information about the MediaWiki-l
mailing list