Skip to content

Instantly share code, notes, and snippets.

@cowboymathu
Created April 21, 2015 11:22

Revisions

  1. cowboymathu created this gist Apr 21, 2015.
    17 changes: 17 additions & 0 deletions center-css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    <style>
    .album-billede-box-pop {
    width: 100%;
    text-align: center;
    }
    .album-billede-single-pop {
    display: inline-block;
    }
    </style>

    <div class="album-billede-box-pop">
    <div class="album-billede-single-pop">
    <a href="javascript:void(0)">
    <img src="xxxx" style="max-width: 768px">
    </a>
    </div>
    </div>