how to Position an element center screen

here is a simple css code with this you can simply Position any html element to screen center

#popup { height:400px; width:500px; position: absolute; top: 50%; left: 50%;}
#popup{ margin-top: -200px; margin-left: -250px;}

0 comments:


PHP developer Cochin |PHP developer Kerala | PHP developer India | Flash developer/programmer Cochin | Flash developer/programmer Kerala | Flash developer/programmer India | web programmer kerala |web programmer Cochin |web programmer India |web developer kerala |Web developer Cochin | Kerala PHP | PHP freelancer| flash actionscript freelancer