#Outline for templates

22 messages · Page 1 of 1 (latest)

plain seal
#

I'm using a template but it doesn't have outlines on anything and it makes it hard to read. (it has outlines on the original wiki) so im wondering if i can add any lines of code or something to it to give it outlines.

wild thunder
#

the outlines are borders of tables

#

template either uses its own styling for tables, or it's modified default wikitable class - hard to tell just by word and a screenshot

#

if the original wiki has borders and you were copying its styling, you probably missed a portion

#

say the table has class="example"
in CSS it needs to have
.example { border: 1px solid white; } - for outer border
.example td, .example th { border: 1px solid white; } - for cells borders

#

if you don't have knowledge of HTML/CSS I suggest to learn basics
my attempt at brief intro #general message

plain seal
#

i took a look and from what i see it looks like it should have an outline but it still doesn't

#

can someone take a look at the template for me?

wild thunder
#

no, there's no border coloring even when I look into HTML code

#

and it's all inline styling, code get confusing rather quick

#

here I've added outer border

plain seal
#

so i probably wont be able to add lines to it?

wild thunder
#

you will

#

you are able to edit any page on wiki, including templates

#

thing is that you should understand where

#

again, I suggest to learn basics, this is something any wiki admin will have to understand sooner or later, from my exprience

plain seal
#

ok will do

#

thanks

wild thunder
#

I also suggest to replace lots of inline styling (the style="..." parts) with classes in Common.css (see the message I linked previously)

wild thunder