Difference between revisions of "User:Eabrace/Sandbox"

From Ouroboros Portal
Jump to: navigation, search
m (experiment with table formatting)
(No difference)

Revision as of 13:51, 9 June 2009

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.