Return to Snippet

Revision: 40149
at January 27, 2011 01:18 by takel


Initial Code
div {
  display: table;
  width: 144px;
  height: 115px;
}

div span {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.ie6 div, .ie7 div {
  padding-top: 3em;
  height: 8em;      
  voice-family: "\"}\"";
  voice-family: inherit;
  height: 4em;
}

.ie6 div span, .ie7 div span {
  margin-top:-0.5em;
  display:block;
}

Initial URL

                                

Initial Description

                                

Initial Title
vertical align in IE6-8, Firefox

Initial Tags

                                

Initial Language
CSS