Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Specify function Width as percentage

$
0
0
I'm still getting familiar with C1, exploring the beta and the latest released version.

When inserting a function or a table, I'd like to be able to specify the width as a percentage. For example, being able to insert a YouTube video or facebook like box that takes 80% of the container's width, or a table with columns that are sized based on the total width of the page. This is so the site can adapt to different resolutions.

When inserting a Composite.Media.YouTube function, is there a function that returns the width in pixels of the container based on a desired percentage? Or do I have to do it through css and/or javascript?

Thanks

Viewing all articles
Browse latest Browse all 2540

Trending Articles



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