Hi all
How can convert the em,px,pt and % in css
Please help me
Responsive Web Design
http://coding.smashingmagazine.com/2011/01/12/guidelines-for-responsiv e-web-design/
Introduction to CSS Media Queries
http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-que ries.html
CS6 Fluid Grid Layouts (6 min video)
CS6 Fluid Grid layouts (17 min video)
http://tv.adobe.com/watch/learn-dreamweaver-cs6/using-fluid-grid-layou ts/
Step-by-Step tutorial -- Building Fluid Grid Layouts in DW CS6
http://www.adobe.com/inspire/2012/08/fluid-grid-layouts-dreamweaver-cs 6.html
Nancy O.
Thanks nancy.
what is the base value for convertion.
For eg i dont have a this convertion table i would like to apply for 17 pt font size to ems & %. How can i get ems & percentage.
In any base value to extraction from 17pt to 1.45 em & 145% .
Because 17 pt size is = 1.45 em & 145% . How can we get this values. plz brief me
Percentage settings for container width is based on the parent container. If the parent containers have no fixed width increment set, then % will be based off of the browser window width.
To convert 960px to a percentage, you would need to have a rule in place in the css defining the total maximum width of its container to then base a percentage off of. If you set the container width to 1000px, 960px would be 96%.
100% = available viewport. What you're asking is not possible to calculate unless you know the display size. Since everybody uses different display sizes and browser viewport widths, this is an unknown variable. Displays vary from 300px all the way up to 3200px.
The best you can do is to create a fixed body width of 1000px and an inner div width of 96% = 960px.
CSS:
body {width: 1000px}
#container {width: 96%; margin: 0 auto}
Nancy O.
North America
Europe, Middle East and Africa
Asia Pacific