June 6th, 2011
Here's a quick note about css I found. I wanted to create a fixed height <div> without having to use the position:absolute tag. In order to accomplish this I needed to set the height of the html and body attributes to 100%. Like below:
html { height: 100%; } body { height:100%; /* this is the key! */ margin: 0 auto; } div.ecard{ float: left; font-size: 1.5em; width: 80%; height: 80%; }
Comments