Difference between revisions of "User:Eabrace/Sandbox"
m |
m (→Experiment #4) |
||
Line 163: | Line 163: | ||
<div style="float:right;" align="center"> | <div style="float:right;" align="center"> | ||
− | <div style="width:450; height:320;"> | + | <div style="float:center; width:450; height:320;"> |
− | http://img.photobucket.com/albums/v623/cohosi/badges/OSI_ID.jpg | + | http://img.photobucket.com/albums/v623/cohosi/badges/OSI_ID.jpg |
− | </div> | + | </div> |
− | <div align="center" style="width:450; height:320; margin-top: -320px;"> | + | <div align="center" style="width:450; height:320; margin-top: -320px;"> |
− | <div align="center" style="width:375; height: | + | <div align="center" style="width:375; height:160;"> |
− | < | + | <div align="center" style="width:160; height:160; margin-left: 0px;"> |
− | < | + | http://smg.photobucket.com/albums/v623/cohosi/roster/th_B_Samson.jpg |
− | < | + | </div> |
− | < | + | <div align="center" style=""> |
− | < | + | <FONT SIZE = "+2"> |
+ | <B>B. Samson</B> | ||
+ | </FONT> | ||
+ | <BR>DIRECTOR | ||
+ | <BR>[[File:Archetypeicon tanker.png|25px]] | ||
+ | [[File:Originicon natural.png|25px]] | ||
+ | [[File:Invulnerability ResToPhysicalDmg.png|25px]] | ||
+ | [[File:SuperStrength Jab.png|25px]] | ||
+ | <BR>Date of Activation: 2004 DEC 06 | ||
+ | <BR>@B Samson | ||
+ | </div> | ||
+ | </div> | ||
+ | <div align="center" style="float:center; font-size:0; line-height:0;"> | ||
+ | [[File:Badge respec stalwart.png|100px]][[File:Badge respec statesman.png|100px]][[File:Badge_respec_freedom.png|100px]] | ||
− | + | [[File:Badge task force 01.png|100px]][[File:Badge task force 02.png|100px]][[File:Badge task force 03.png|100px]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | [[File:Badge task force 04.png|100px]][[File:Badge task force 05.png|100px]][[File:Badge task force 06.png|100px]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [[File: | + | |
− | [[File: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | [[File:Badge task force HonoraryPeacebringer.png|25px]][[File:Badge council robot.png|25px]][[File:Badge croatoa cabalist.png|25px]][[File:Badge temporal strife.png|25px]][[File:Badge task force PSmasher.png|25px]][[File:Badge task force DestroyerOfStrength.png|25px]][[File:Badge task force ProtectorOfKindness.png|25px]][[File:Badge task force SlayerOfMadness.png|25px]][[File:Badge task force apocalyptic.png|25px]][[File:Badge defeatrecluse.png|25px]][[File:Badge task force master statesman.png|25px]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | [[File:Badge trial zone 01.png|25px]][[File:Badge trial zone 01.png|25px]][[File:Badge trial zone 01.png|25px]] | |
− | + | ||
− | + | ||
− | [[File:Badge | + | |
− | + | http://smg.photobucket.com/albums/v623/cohosi/badges/th_BADGE_OSI_Activity.jpg | |
− | + | </div> | |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | http://smg.photobucket.com/albums/v623/cohosi/badges/th_BADGE_OSI_Activity.jpg | + | |
− | </div> | + | |
− | + | ||
− | + | ||
− | </div> | + | |
</div> | </div> | ||
{{clr}} | {{clr}} |
Revision as of 22:38, 10 June 2009
Contents
Experiments
Experiment #1
Question:
Can a wikitable be created with a background image?
CSS for background images:
background-image:url('<image>')
Test image:
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 |
Suggestion from Titan forums
<table style="background: url(http://img.photobucket.com/albums/v623/cohosi/badges/OSI_ID.jpg) center center no-repeat transparent;width:450px;height:320px;border: solid 1px #000000;border-collapse: collapse;"> <tr> <td>sd54f6s5df4 s5df4s6d5f4<br /><br /><br /><br />S4d6f5</td> </tr> </table>
sd54f6s5df4
s5df4s6d5f4 S4d6f5 |
Removing background image from code:
<table style=";width:450px;height:320px;border: solid 1px #000000;border-collapse: collapse;"> <tr> <td>sd54f6s5df4 s5df4s6d5f4<br /><br /><br /><br />S4d6f5</td> </tr> </table>
sd54f6s5df4
s5df4s6d5f4 S4d6f5 |
Conclusion:
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.
Further reading from outside sources indicates that MediaWiki invalidates style tags with "url" components.
Experiment #2
Using an HTML table with wiki images.
|
||
|
Experiment #3
Line spacing between badge rows using CSS font-size and line-height properties.
Experiment #4
Using Div tags to create an overlay.