Template:Team:UC Davis/Head

From 2014.igem.org

(Difference between revisions)
Line 53: Line 53:
                             width: 300px;
                             width: 300px;
                             float: left;
                             float: left;
-
                             vertical-align:center;
+
                             position: relative; - in .frame holds the absolute element within the frame
-
                             margin: 0 auto;
+
                            top: 0; bottom: 0; left: 0; right: 0; - this is key for centering a component
 +
                             margin: auto; - centers the image horizontally & vertically
               }
               }

Revision as of 08:55, 22 September 2014

UC Davis iGEM 2014