Link to home
Start Free TrialLog in
Avatar of YZlat
YZlatFlag for United States of America

asked on

Having trouble aligning a region in Oracle APEX

I have a region with a button on it that is right-aligned. I want to left-align it or center aligned but not sure how. Here is the region:

 

  <div class="t-Region-body">
       <div class="container">...</div>
       <div class="title-container">...</div>
       <div class="t-Region-buttons-right">
          <button>Test</button>
       </div>
    </div>

Open in new window


I tried changing `t-Region-buttons-right` to `t-Region-buttons-left` but nothing changed. Is there any other way?

The region gets generated by PL/SQL code:
htp.p(..);

Open in new window

Avatar of Geert G
Geert G
Flag of Belgium image

open this page:
https://apex.oracle.com/pls/apex/f?p=42:1250:::NO:::

in your browser, get the add on to inspect elements: the dev tools

they add div col with class "t-ButtonRegion-col t-ButtonRegion-col--left" columns to the div, to left align the buttons
User generated image
Avatar of YZlat

ASKER

I tried that and the div moved to the left side but the button that was inside the div still stays at the same place to the right
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.