+div.upload {
+ position:absolute;
+ top: 50%;
+ left: 50%;
+ width:450px;
+ height:50px;
+ margin-top: -250px; /*set to a negative number 1/2 of your height*/
+ margin-left: -225px; /*set to a negative number 1/2 of your width*/
+ border: 1px solid #ccc;
+ padding: 3px;
+ background-color: #f3f3f3;
+}
+
+div.titlebar {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ margin-bottom: 4px;
+ width:100%;
+ height: 32px;
+ background-color: #007fff;
+ color: white;
+}
+
+div.mainTitle {
+ display: block;
+ margin-left: 3px;
+ margin-right: auto;
+ max-width: 600px;
+ max-height: 32px;
+ float: left;
+ line-height: 32px;
+ vertical-align: middle;
+}
+
+div.mainRight {
+ display: block;
+ max-width: 600px;
+ max-height: 32px;
+ line-height: 32px;
+ display: block;
+ margin-left: auto;
+ margin-right: 3px;
+ float: right;
+ vertical-align: middle;
+}
+