This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

Template talk:Infobox victims

From Heroes Wiki
Revision as of 14:59, 12 January 2007 by imported>Orne (comment)
Jump to navigation Jump to search

Colors and Links

I thought it'd be cool to make Sylar's infobox really dark, or black. Unfortunately, the blue links on the box look like crap against the black. However, Memory Alpha's dark background, for instance, looks terrific with the blue links. I tried copying similar colors, but to no avail - still a big pile of poop. Can some kind soul either help me out or give me some insight? Much obliged! - RyanGibsonStewart (talk) 19:29, 11 January 2007 (EST)

  • I think what you need to do is create a DIV with a style element that adjusts the link colors. I'll put something together in a couple minutes. --Orne 21:35, 11 January 2007 (EST)
    • Thanks, Orne, I'd really appreciate that. (I'm learning, I'm learning...) - RyanGibsonStewart (talk) 21:54, 11 January 2007 (EST)
      • Sorry I didn't get back to posting last night. I didn't get a lot of sleep, and I started getting cranky. In CSS style sheets, the way you would do it is add color parameters using "pseudo" properties of the Anchor <A> element. I couldn't really get it to work, because the "right" way to do it is to create a new class in the Style section in the Header of the web page (the <HEAD> tag), and in the BODY of the page, assign the class to the specific anchor (using <A class="...">). Wiki does not allow you to create your own anchors, and the [[ ]] notation does not allow you to add classes to the links. Furthermore, if I added the code to a DIV tag that wrapped around the link, I still couldn't get the link to inherit the correct colors.
<STYLE>
  A:link    {color: #FF0000}
  A:visited {.....
</STYLE>

I will check out the other wiki later and see how they managed to do it. It may be that the Admin there added special code to the .CSS files on the site. --Orne 09:59, 12 January 2007 (EST)