Difference between revisions of "Template talk:Sign"
From #openttdcoop wiki
m (Help Please!) |
(→Help Please!: helps) |
||
Line 7: | Line 7: | ||
FYI, I tried using a div, but the wiki is greedy and makes the div use 100% width. Instead, I'd like the sign to be as big as it needs to be to hold the text (just like in-game), and a table appears to work well for that. I opted to use the HTML format because then it can be placed in bulleted lists. Wiki tables require the open brace in the first column, which is impossible to do if you are using an asterisk in that column to include the sign in a bulleted list. | FYI, I tried using a div, but the wiki is greedy and makes the div use 100% width. Instead, I'd like the sign to be as big as it needs to be to hold the text (just like in-game), and a table appears to work well for that. I opted to use the HTML format because then it can be placed in bulleted lists. Wiki tables require the open brace in the first column, which is impossible to do if you are using an asterisk in that column to include the sign in a bulleted list. | ||
− | + | : Hi Thrax, I am not sure if div elements are the best idea. IMHO we should use span, because they are better to format text only. But I am also not sure if it'll fit your needs. I changed your user abilities, you should now be able to edit Common.css or [[MediaWiki:Monoforcoop2.css]] --[[User:Osai|Osai]] 13:39, 18 September 2008 (UTC) | |
Thanks -- [[User:Thraxian|Thraxian]] 01:46, 18 September 2008 (UTC) | Thanks -- [[User:Thraxian|Thraxian]] 01:46, 18 September 2008 (UTC) |
Revision as of 13:39, 18 September 2008
Help Please!
Apparently, styles in tables don't work in templates.
Additionally, I don't have access to edit the Common.css to place this style in a class and try using the class instead.
Could someone with access rights please take the included style tag from this template and create a class named "sign" or "coopsign" in the CSS. Hopefully, I can then use the tag to create openttd-style signs on the wiki page using this template.
FYI, I tried using a div, but the wiki is greedy and makes the div use 100% width. Instead, I'd like the sign to be as big as it needs to be to hold the text (just like in-game), and a table appears to work well for that. I opted to use the HTML format because then it can be placed in bulleted lists. Wiki tables require the open brace in the first column, which is impossible to do if you are using an asterisk in that column to include the sign in a bulleted list.
- Hi Thrax, I am not sure if div elements are the best idea. IMHO we should use span, because they are better to format text only. But I am also not sure if it'll fit your needs. I changed your user abilities, you should now be able to edit Common.css or MediaWiki:Monoforcoop2.css --Osai 13:39, 18 September 2008 (UTC)
Thanks -- Thraxian 01:46, 18 September 2008 (UTC)