Forum:Tables and CSS help

Hello, i need help with my tables and CSS, i have put the code in the right places but it doesn't seem to work for me.

Am i doing something wrong? Any help would be appreciated.

CSS

td.ObjHeader { -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; padding-top: 7px; padding-left: 12px; font-size: 16px; text-align: left; background-color: rgb(38, 38, 38); } td.ObjCell { vertical-align: top; background-color: rgb(25, 25, 25); } td#ObjCellLeft { text-align: center; width: 65px; } td#ObjCellRight { text-align: left; width: 400px; }

Table

TheDerrMan 16:42, February 26, 2012 (UTC)


 * The only obvious mistake is the colspan=6 in a table that's only two columns wide.


 * That and the use of the code tag. The code tag isn't very good at rendering... well... code. Use the pre tag instead. Or even better: the syntaxhighlight tag.


 * Where did you put the CSS and what is the table supposed to look like? -- Pecoes 09:20, February 27, 2012 (UTC)

The colspan should actually be 4, i have 2 more cells in the row (Which i've just added). Thanks for the  tip.

The table is suppose to look like this.

I put the CSS in MediaWiki:Global.css, i also tried MediaWiki:Common.css, but neither worked. And yes i refreshed the cache.

Thank you for any more help.

TheDerrMan 10:30, February 27, 2012 (UTC)

Here's what I've learned about CSS locations from other forum members (especially RandomTime):

Pecoes 11:29, February 27, 2012 (UTC)

Thank you so much, MediaWiki:Wikia.css worked like a charm.

TheDerrMan 14:37, February 27, 2012 (UTC)