CompNarr
by Koubenec
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Brasada Capital Management</title>
<style>
.body {width: 100%;
height: 100%;
}
.info {text-align: center;
}
.logo {width: 380px;
height: 148px;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<div id="landing">
<img class="logo" src="http://www.brasadacapital.com/image002.gif">
<p class="info">
3200 Southwest Freeway <br>
Suite 2160 <br>
Houston, TX 77027 <br>
(713) 630-8390 <br>
www.brasadacapital.com
</p>
</div>
<script type="text/javascript">// <![CDATA[
(function ($) {
$.fn.vAlign = function() {
return this.each(function(i){
var h = $(this).height();
var oh = $(this).outerHeight();
var mt = (h + (oh - h)) / 2;
$(this).css("margin-top", "-" + mt + "px");
$(this).css("top", "50%");
$(this).css("position", "absolute");
});
};
})(jQuery);
(function ($) {
$.fn.hAlign = function() {
return this.each(function(i){
var w = $(this).width();
var ow = $(this).outerWidth();
var ml = (w + (ow - w)) / 2;
$(this).css("margin-left", "-" + ml + "px");
$(this).css("left", "50%");
$(this).css("position", "absolute");
});
};
})(jQuery);
$(document).ready(function() {
$("#landing").vAlign();
$("#landing").hAlign();
});
// ]]></script>
</body>
</html>
CSS
/*.body {width: 100%;
height: 100%;
}
.info {text-align: center;
}
.logo {width: 380px;
height: 148px;
margin-left: auto;
margin-right: auto;
}*/
.slabtexted .slabtext
{
display:-moz-inline-box;
display:inline-block;
white-space:nowrap;
}
.slabtextinactive .slabtext
{
display:inline;
white-space:normal;
font-size:1em !important;
letter-spacing:inherit !important;
word-spacing:inherit !important;
*letter-spacing:0 !important;
*word-spacing:0 !important;
}
.slabtextdone .slabtext
{
display:block;
}