How to position object on the middle of the screen in any size? -


this entire code (sorry h1 not being in english doesnt matter since pharagraphs dummy text too.) http://jsfiddle.net/sbkyh/

my positioning

.vizitka{ position:relative; top:50%; margin: 232px 0 0 438px; } 

so problem working on webpage on laptop , perfect. when opened website on pc (with bigger screen) cards moved left. how can keep cards on middle wont effected screen size? , when changed size of browser window, instead of staying on middle cards when up. ideas on how fix it?

try with

.vizitka{     margin:232px auto 0;   ... } 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -