Web Page Design Get Distorted in Desktop PC Monitor

Posted by Tarik on Stack Overflow See other posts from Stack Overflow or by Tarik
Published on 2009-08-05T03:18:06Z Indexed on 2010/03/17 8:41 UTC
Read the original article Hit count: 546

Filed under:
|
|

I am building my web application on my laptop but when I navigate the page on my desktop pc the layout of the div are distorted.

I think the solution is giving percentage instead of absolute numbers like 240px to height and width of divs.

What do you think ?

Do you have another recommendations ?

Thanks in advance.

What I've done is :

<div style="height:240px;width:240px"></div>

What I think I have to do is :

<div style="height:100%;width:90%"></div>

© Stack Overflow or respective owner

Related posts about html

Related posts about css