Quantcast
Channel: Adobe Community: Message List - Dreamweaver support forum
Viewing all articles
Browse latest Browse all 90058

Re: How can convert the em,px,pt and % in css

$
0
0

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%.


Viewing all articles
Browse latest Browse all 90058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>