Aine Sherlock/Sandbox2: Difference between revisions
(→Let's Try again!: humph...) |
|||
Line 82: | Line 82: | ||
{{StartColumns}} | {{StartColumns}} | ||
{| style="margin: 0em auto 0em auto;" border='0' cellspacing='0' | {| style="margin: 0em auto 0em auto;" border='0' cellspacing='0' | ||
! style="background:clear; width:200px" |[[File:Test 01.png]] | |||
! style="background:clear; width:200px" | | |||
! style="background:clear; width:200px" | | |||
|- | |- | ||
! style="background:clear; width:200px" |[[File:Test 01.png]] | |||
! style="background:clear; width:200px" | | |||
! style="background:clear; width:200px" | | |||
|- | |||
! style="background:clear; width:200px" |[[File:Test 01.png]] | |||
! style="background:clear; width:200px" | | |||
! style="background:clear; width:200px" | | |||
|- | |||
! style="background:clear; width:200px" | | |||
! style="background:grey; width:200px" |{{Ribbons|Pathfinder Award|200|1}} | ! style="background:grey; width:200px" |{{Ribbons|Pathfinder Award|200|1}} | ||
! style="background:grey; width:200px" |{{Ribbons|Denali Invitational Ribbon|200|3}} | ! style="background:grey; width:200px" |{{Ribbons|Denali Invitational Ribbon|200|3}} | ||
|- | |- | ||
! style="background:grey; width:200px" |{{Ribbons|Neelix Award|200|2}} | ! style="background:grey; width:200px" |{{Ribbons|Neelix Award|200|2}} | ||
Line 99: | Line 109: | ||
{{StartColumns|50%}} | {{StartColumns|50%}} | ||
{| style="margin: 0em auto 0em auto;" border='0' cellspacing='0' | {| style="margin: 0em auto 0em auto;" border='0' cellspacing='0' | ||
! style="background:grey; width:200px" |{{Ribbons|UFP Medal of Freedom|200|1}} | ! style="background:grey; width:200px" |{{Ribbons|UFP Medal of Freedom|200|1}} | ||
! style="background:grey; width:200px" |{{Ribbons|Purple Heart|200|1}} | ! style="background:grey; width:200px" |{{Ribbons|Purple Heart|200|1}} |
Revision as of 21:14, 30 June 2024
My Ribbon Rack Experiments
Current single table.
Partial example to experiment with centering 2 ribbons on line. Got the columns, and now have stars overlaying ribbons with proper links to ribbon pages! Thanks Noa! Lower example shows ribbon removed from top row to show how it properly centers.
For 3 ribbons per row: Center star on ribbon 1 106px, on ribbon 2 306px, and on ribbon 3 506px. Put div style="position: absolute; left: px; top:12.5 etc after div style="position: relative etc. For 3 stars, plus or minus 56px from center star position. For two stars, first star is single star position minus 38, second star is previous formula but plus 38.
For 2 ribbons per row: Center star on ribbon 1 206, on ribbon 2 406 . Other formulas follow suite.
Let's Try again!
Ok, I have a new idea! Let's see how this works! (Or maybe I tried this and it didn't work...I don't know anymore, I'm losing my mind!)
|
|