Using CSS3 to get precise control over layouts in the upcoming version of Alpha Five

Blog



Using CSS3 to get precise control over layouts in the upcoming version of Alpha Five

As we have written about at length on this blog, Alpha has fully embraced HTML5 mobile app development. While our powerful component based architecture enables developers to quickly and easily build robust applications for any device without the need to code, there is always the option to get "under the hood" and add custom code wherever you see fit.

CSS3 is one of the core elements that are part of HTML5. In the video below, Alpha Software CTO Selwyn Rabins shows how much control you have over your application's layout using CSS3.

Using CSS to Control Padding and Spacing


When a UX Component (that uses 'container width' layout mode, which is the default mode) is rendered, every control in the component is wrapped in a DIV with a class name of 'A5CWLayout'. This special class is essential to the way in which the controls all 'flow' from left-to-right, then top-to-bottom, creating powerful, 'fluid' layouts that automatically adjust to changes in the window size.The default padding on the A5CWLayout class is set globally in a property in the UX builder. There are situations, however, as described in this video, where you would like to selectively control the padding on the A5CWLayout class.NOTE: This video is aimed at users with an understanding of CSS selectors.

OERCA, developed in Alpha Five v11, lets zoological institutions improve the lives of marine mammals
Alpha gives head start to organizers of the LA Marathon; online/offline solution becomes a standard for race management

About Author

Richard Rabins
Richard Rabins

Co-founder of Alpha Software, Richard Rabins focuses on strategy, sales, and marketing. Richard also served as CEO of SoftQuad International from 1997 to 2001, when it owned Alpha. In addition to his 30 years with the company, Richard played a key role as co-founder, and served as president and chairman of the Massachusetts Software Council (now the Massachusetts Technology Leadership Council), the largest technology trade organization in Massachusetts. Prior to founding Alpha, Richard was a project leader and consultant with Information Resources, Inc. (IRI), and a management consultant with Management Decision Systems, Inc. Richard holds a master's degree in system dynamics from the Sloan School at MIT, and a bachelor's degree in electrical engineering and master's degree in control engineering from University of the Witwatersrand in Johannesburg, South Africa. He has served on the boards of Silent Systems, Legacy Technology and O3B Networks, and is co-founder of Tubifi www.tubifi.com.

Related Posts
How Oil and Gas Mobile Apps Improve Productivity and Safety
How Oil and Gas Mobile Apps Improve Productivity and Safety
How to Reengineer Yourself as a Mobile Developer
How to Reengineer Yourself as a Mobile Developer
Updating Mobile Apps Just Got WAY Easier
Updating Mobile Apps Just Got WAY Easier

Comment

Subscribe To Blog

Subscribe to Email Updates