Flash page with div : Flash page « CSS Controls « HTML / CSS






Flash page with div

 


<!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>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
body {
  text-align: center;
  min-width: 650px;
}

#flashvertical {
  position: absolute;
  top: 50%;
  margin-top: -200px;
  left: 0;
  width: 100%;
}

#flashhoz {
  width: 624px;
  margin-left: auto;
  margin-right: auto;
  height: 395px;
  background: #CCC;
}

</style>
</head>
<body>
<div id="flashvertical"> 
  <div id="flashhoz">
    <h1>Flash goes here</h1>
  </div>

</div>
</body>
</html>

 








Related examples in the same category