![]() |
RESOLVED - Center an onclick css box
Good day to you all, I'm working on a piece of code which display an image and when you click on it a full size image appears on a css box. I was wondering how can I center it on the screen, knowing the size will be different for each....
PHP Code:
|
Resolved !
Code:
style='display: none; position: absolute; left: 50%; margin: 0px 0 -1px -260px; border: dashed black 1px; padding: 10px; background-color: rgb(255,255,225); text-align: justify; font-size: 12px; |
| All times are GMT. The time now is 11:09 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0