User talk:Aniki21: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
m
→‎Keyboard key: fixing layout
m (→‎Keyboard key: - problem explanation)
m (→‎Keyboard key: fixing layout)
Line 19: Line 19:
What were you planning with that keyboard key image? Any way I can help? :-) --[[User:DrBob|DrBob]] ([[User_talk:DrBob|Talk]]) 06:41, 30 August 2006 (CDT)
What were you planning with that keyboard key image? Any way I can help? :-) --[[User:DrBob|DrBob]] ([[User_talk:DrBob|Talk]]) 06:41, 30 August 2006 (CDT)


::The theory was to create a template that used a div or span with that image as the background, and put a single letter over the top. The idea was to make it easier to generate keyboard images for PC game controls, rather than having to make dozens of different images for each key. You'd just call the template with something like <nowiki>{{PCKey|W}}</nowiki>, and it'd generate a keyboard button image. Trying to add the background-image declaration to the div didn't work though - it just stripped out the entire CSS style info from the element. --[[User:Aniki21|aniki21]] 07:25, 30 August 2006 (CDT)
:The theory was to create a template that used a div or span with that image as the background, and put a single letter over the top. The idea was to make it easier to generate keyboard images for PC game controls, rather than having to make dozens of different images for each key. You'd just call the template with something like <nowiki>{{PCKey|W}}</nowiki>, and it'd generate a keyboard button image. Trying to add the background-image declaration to the div didn't work though - it just stripped out the entire CSS style info from the element. --[[User:Aniki21|aniki21]] 07:25, 30 August 2006 (CDT)
3,465

edits