Responsive Web Design Formula

target ÷ context = result

(target / context) x 100 = result %

Browser Value Firefox Two decimals Internet Explorer - IE Four decimals

Lets start use the formula

Target value Add target value Context value Add context value Yes, its percentage 100 Calculate Percentage value

#wrapper {

margin : 0 auto ;

width : 960px ;

}

#container {

margin : 0 auto ;

width : 93.75% ;

}

#main {

float : left ;

width : 72.22222% ;

}

#side {

float : right ;

width : 23.8888% ;

}

Author

By Sameera Thilakasiri

He is a website designer based in Colombo. He is blogging technical articles while his leisure.

Follow Me at Twitter and Google+ and check out my blog.