You can use the following utility classes anywhere in your app to fine-tune the layout of your page and components. For most Oracle APEX components, you can simply populate the CSS Classes property to apply these modifiers to your page components.
To float an element, you can use the u-pullDirection utility classes.
<button class="u-pullLeft">Foo</button> <!-- Float button to the left --> <div class="u-pullRight">Hello World</div> <!-- Float div to the right -->
To vertically-align the contents of an element you can use the u-alignDirection utility class.
<table> <tbody> <tr> <td class="u-alignTop">Hello World!</td> <td class="u-alignMiddle">I'm in the middle!</td> </tr> </tbody> </table>
Margin classes can be added to help add spacing around your elements.
Use the following class name structure with the options listed below to add spacing around your element.
margin-direction-spacing
Use these classes to adjust spacing around all sides of your element.
<h1 class="margin-auto">Centered Heading Text</h1> <p class="margin-top-lg">Content with a large margin on top.</p>
Padding classes can be added to help add spacing within your elements.
padding-direction-spacing
Use these classes to adjust spacing within all sides of your element.
<button class="padding-lg">Large button</button> <div class="padding-left-md">Little bit of padding on the side.</div>
Text
<div class="w95p mxw800">This region will be 95% wide with a max-widht of 800px.</div>
<div class="h400">This region would be 400px tall.</div>