Forum:Styles dependent on namespace

Is there a way to change the layout of pages in a single namespace? I'm thinking about giving talk and forum pages a slightly different layout, e.g. a different background color, than articles. Many inexperienced users seem to have problems to differentiate between articles (allowed to change all content, no signatures) and talk/forum pages (not allowed to alter others' comments, signature required). -- Weas-El  Talk|Contribs  08:44, April 27, 2011 (UTC)


 * Yes, through CSS and using the number that is assigned to each namespace.  needs to be added at the beginning of the line. For example:   would change the colour of all text on user pages to white. (Numbers: the main article space is 0, article talk pages 1, user pages 2, user talk 3, project 4, project talk 5 etc. etc.)  The 888th Avatar   (talk)  09:05, April 27, 2011 (UTC)


 * Thank you :-) -- Weas-El  Talk|Contribs  09:20, April 27, 2011 (UTC)