FANDOM


  • If you go to http://risen.wikia.com/wiki/Character_Training you can see a section called "Risen" with an image just a little below that. For better formatting, I have used a table (instead of the standard <ul> plus a [[File]] option specifying a thumbnail). Although I've specified no borders for the entire table (and individual rows and columns), there is still a strange right border for the table, some gradient (transparent to grey). Can I remove this right border? Here is the table code as it now stands:

    {| class="article-table" style="background:rgba(0,0,0,0); margin:-5px 0 0 -10px; border:none;"
    
    | style="vertical-align:top; border:0;" | [[File:Phil-Training.png|thumb|left|299px|''The [[Nameless Hero|Castaway]] seeks to improve his skills by learning from an expert.'']]
    
    | style="vertical-align:top; border:0;" | <div style="margin:-15px 0 0 -45px;">
    
    # '''''Visit an appropriate trainer'''''. Any NPC who can train you will present a dialog option implying this (such as "I'd like to train" when speaking with [[Ukkos]] or asking [[Phil]] "Can you teach me some thieving skills?").
    
    # '''''Meet any prerequisites'''''. When choosing a dialog option to train, you will be presented with specific types of training that NPC can provide. If you do not meet a prerequisite, the trainer will inform you.
    
    # '''''Pay the training cost'''''. Hover over the training option to see details on what the training will cost. Usually this will require learning points and gold. Any cost you can meet (e.g., you have enough gold) will be show in green; any cost you cannot currently pay (e.g., you have too few learning points) will be shown in red.
    
    </div>
    |}
      Loading editor
    • I cannot see the picture on the page...

        Loading editor
    • That gray border is a result of using article-table as a table class, from what I know. Try removing that class and fixing the rest of the stuff like it was earlier when the class was there instead of removing the gray border.

        Loading editor
    • I've removed that class from the table and all references to borders from the code. I still see the grey on the right. Here is the updated code.

      {| style="background:rgba(0,0,0,0); margin:-5px 0 0 -10px;"
      
      | style="vertical-align:top;" | [[File:Phil-Training.png|thumb|left|299px|''The [[Nameless Hero|Castaway]] seeks to improve his skills by learning from an expert.'']]
      
      | style="vertical-align:top;" |
      <div style="margin:-15px 0 0 -25px;">
      
      # '''''Visit an appropriate trainer'''''. Any NPC who can train you will present a dialog option implying this (such as "I'd like to train" when speaking with [[Ukkos]] or asking [[Phil]] "Can you teach me some thieving skills?").
      
      # '''''Meet any prerequisites'''''. When choosing a dialog option to train, you will be presented with specific types of training that NPC can provide. If you do not meet a prerequisite, the trainer will inform you.
      
      # '''''Pay the training cost'''''. Hover over the training option to see details on what the training will cost. Usually this will require learning points and gold. Any cost you can meet (e.g., you have enough gold) will be show in green; any cost you cannot currently pay (e.g., you have too few learning points) will be shown in red.
      
      </div>
      |}
      
        Loading editor
    • Any additional suggestions of what I might try?

        Loading editor
    • remove the background?

      background:rgba(0,0,0,0);

        Loading editor
    • In my test wiki, I removed
      margin:-5px 0 0 -10px 
      from the top line and the shading disappearred
        Loading editor
    • I propose a compromise, remove the entire line:)

      style="background:rgba(0,0,0,0); margin:-5px 0 0 -10px;"

        Loading editor
    • @Jade :)

      Thanks, @TableWiz. That did the trick. Curious that a margin would cause a border to be added. I wonder if there's a conditional in the global CSS that specifies if a container is beyond a certain established boundary, a border should be applied.

      In any case, that border is gone now. Thanks @Jade and @TableWiz! [bows before their superior Wiki understanding]

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.