User:Eabrace/Sandbox

From Ouroboros Portal
< User:Eabrace
Revision as of 15:41, 9 June 2009 by Eabrace (Talk | contribs) (minor tweaks)

Jump to: navigation, search

Experiments

Experiment #1

Question:

Can a wikitable be created with a background image?


CSS for background images:

background-image:url('<image>')


Test image:

OSI_ID.jpg


Test table code:

{| style="width:75%; height:200px; background-image:url('http://img.photobucket.com/albums/v623/cohosi/badges/OSI_ID.jpg')" border="1"
|-
|Test
|}


Test table:

Test


Test table code (without background image specification):

{| style="width:75%; height:200px" border="1"
|-
|Test
|}


Test table:

Test


It would appear that wikitables do not allow background images. Either that or this just isn't the right way to make it work. Based on the loss of size formatting in the first table, it would seem that inserting the background image specification invalidates the entire style spec.


Experiment #2

Using an HTML table with wiki images.

th_B_Samson.jpg

B. Samson
DIRECTOR
Archetypeicon tanker.png Originicon natural.png Invulnerability ResToPhysicalDmg.png SuperStrength Jab.png
Date of Activation: 2004 DEC 06
@B Samson

Badge respec stalwart.pngBadge respec statesman.png100px

100pxFile:Badge task force 02.png100px

100px100px100px

25px25pxFile:Badge croatoa cabalist.png25pxBadge task force PSmasher.pngBadge task force DestroyerOfStrength.png25px25px25pxFile:Badge defeatrecluse.pngFile:Badge task force master statesman.png

File:Badge trial zone 01.pngFile:Badge trial zone 01.pngFile:Badge trial zone 01.png

th_BADGE_OSI_Activity.jpg

Experiment #3

Line spacing between badge rows using CSS font-size and line-height properties.