javascript - getting relative screen location -


i`m kind of making first steps in web programming , need write js/html code enable user make icon on page. thought showing page , capture click there problem of different screen sizes , browser may not open on entire screen. know in other programming languages there methods take screen size , 1 can use size/2 thing @ middle of screen in html (as far saw) location fixed.

please advice. thanks, nahum

with css can use:

.elementclass{     background: #999;     width:80%;     margin:0 auto; } 

here css demo can resize window..


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -