Portal:Battlestar Galactica (RDM): Difference between revisions
From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
More actions
Whew... did I get it right this time? |
Better commenting & concept of min-width. |
||
Line 9: | Line 9: | ||
<div style="margin-right: 350px; border-right: 17px solid #fff;"> | <div style="margin-right: 350px; border-right: 17px solid #fff;"> | ||
<!-- margin-right == "right column" div's width --> | |||
<!-- border-right width == "left column" div's margin-right --> | |||
<!-- begin columns --> | <!-- begin columns --> | ||
<!-- begin LEFT column --> | <!-- begin LEFT column --> | ||
<div style="float: left; width: 100%; min-width: 300px; position: relative; margin-right: 17px;"> | |||
<!-- margin-right == space between columns --> | |||
{{/box-header|'''Featured Episode'''|{{FULLPAGENAME}}/Featured Episode|}} | {{/box-header|'''Featured Episode'''|{{FULLPAGENAME}}/Featured Episode|}} | ||
{{/box-footer|}} | {{/box-footer|}} | ||
Line 19: | Line 22: | ||
</div> <!-- end left column --> | </div> <!-- end left column --> | ||
<!-- begin RIGHT column --> | |||
<div style="float: left; width: 350px; position: relative; margin-right: -367px;"> | <div style="float: left; width: 350px; position: relative; margin-right: -367px;"> | ||
<!-- | <!-- margin-right == -1 * (width + "left column" div's margin-right) --> | ||
{{/box-header|'''Categories'''|{{FULLPAGENAME}}/Categories|}} | {{/box-header|'''Categories'''|{{FULLPAGENAME}}/Categories|}} | ||
{{/box-footer|}} | {{/box-footer|}} |