/ Published in: CSS
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* Class for the image to be centered */ .centered{ width:1024px; height:641px; position:absolute; left:50%; top:50%; margin:-320px 0 0 -512px; /* Adjust as needed to center */ }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)