Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- change these sections:
- .popup_block{
- display: none; /*--hidden by default--*/
- background: transparent;
- padding: 20px;
- float: left;
- position: fixed;
- top:50%;
- left:50%;
- z-index: 99999;
- height:347px;
- }
- .poptext {
- margin-left:auto;
- margin-right:auto;
- margin-top:-15px;
- width:250px;
- padding:10px;
- margin-left:170px;
- height:450px;
- overflow:auto;
- text-align:justify;
- color:{color:background};
- background-color:#dddddd;
- }
- to THIS:
- .popup_block{
- display: none;
- background: transparent;
- padding: 20px;
- position: absolute;
- z-index: 999999;
- height:100px;
- }
- /*-- you delete the top and left sections from popup_block
- and you change the margin-left and margin-top values in poptext
- to whatever you need it to be to line up with your posts
- also change the background color to suit your style --*/
- .poptext {
- margin-left:0px;
- margin-top:0px;
- width:272px;
- padding:10px;
- height:331px;
- overflow:auto;
- text-align:justify;
- background-color:COLOR;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement