MediaWiki:Common.css
From Species File Help
(Difference between revisions)
Line 26: | Line 26: | ||
.even_flow_box { | .even_flow_box { | ||
margin-left:100px; | margin-left:100px; | ||
− | text-align: | + | text-align:top; |
border:1px solid green; | border:1px solid green; | ||
height:125px; | height:125px; |
Revision as of 10:00, 8 August 2012
/* CSS placed here will be applied to all skins */ #foo { background-image: url(http://help.speciesfile.org/images/c/c0/Diversity_Image.png); background-repeat: no-repeat; } /* even-flow styles This is the code that floats the divs on the homepage. See http://stackoverflow.com/questions/6865194/fluid-width-with-equally-spaced-divs. If it's not working try removing whitespace between spans/divs. */ .even_flow_container { padding:1em; border:1px solid blue; height:125px; text-align:justify; -ms-text-justify:distribute-all-lines; text-justify:distribute-all-lines; } .even_flow_box { margin-left:100px; text-align:top; border:1px solid green; height:125px; vertical-align:center; display:inline-block; *display:inline;zoom:1; width:150px; } .even_flow_stretch { width:100%; display:inline-block; font-size:0; line-height:0; }