position:absolute;
top: 50%;
left: 50%;
- width:400px;
- height:300px;
- margin-top: -150px; /*set to a negative number 1/2 of your height*/
- margin-left: -200px; /*set to a negative number 1/2 of your width*/
+ width:450px;
+ height:500px;
+ 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;
display: block;
margin-left: auto;
margin-right: auto;
- width: 394px;
+ width: 444px;
background-color: #007fff;
color: white;
}
div.scroll {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
border: 1px;
border-style:solid;
- height:100%;
- width:100%;
+ height:470px;
+ width:442px;
overflow:auto;
+ background-color: white;
+ color:black;
+}
+
+h2 {
+ border: 0px;
+ padding: 0px;
}