Difference between revisions of "Template:Stanford-Brown/CSS"

Line 338: Line 338:
  
 
.homeimage2{
 
.homeimage2{
width: 30%;
+
width: 40%;
margin-left: 35%; /*margin-left + (-)margin-right + max-width = 100% */
+
margin-left: 30%; /*margin-left + (-)margin-right + max-width = 100% */
margin-right: -35%; /*if margin-left = margin-right, will be centered*/
+
margin-right: -30%; /*if margin-left = margin-right, will be centered*/
 
margin-top: 10px;
 
margin-top: 10px;
 
margin-bottom: 0px;
 
margin-bottom: 0px;

Revision as of 04:03, 17 October 2016