Working in the New Freeway Pro 7. Trying to adjust from what I learned using Backdraft.
I cannot for the life of me figure out how to center my Orange inflow Icons so that when the browser window expands they stay center instead of left.
Did you have the inner element (the one you want to center) selected at the time? And is this a truly inflow chile element, or is it positioned within the outer HTML box?
Walter
On Jul 31, 2014, at 12:32 PM, billy kimmel wrote:
Yeah I tried that. Seems to make sense but it didn’t work. Weird.
I have an html div that stretches the full width of the page with fixed% setting(W) and Flexible(H). Inside of that div are 4 html divs. Inside each of those divs is a graphic box and an html box for some text.
You’re going to need to use the inline-block layout method instead. Select each of the 4 inline HTML boxes, and make the following changes:
Float left (if you don’t see that option, then the item is not truly inline).
Margin right and left as desired (to space the elements apart a bit).
Item / Extended, choose
and add the following (left of the colon is the Name, right of the colon is the Value, the colon does not get entered):
float:none
display:inline-block
Now click on the outer box containing these items, and again use Item / Extended to add text-align:center to the box’s
tab.
Preview in a browser (you won’t see anything you like in the Freeway design view).
Walter
On Jul 31, 2014, at 12:47 PM, billy kimmel wrote:
I have an html div that stretches the full width of the page with fixed% setting(W) and Flexible(H). Inside of that div are 4 html divs. Inside each of those divs is a graphic box and an html box for some text.
So I was able to get the divs to center by adding a max-width in the extended attributes. However I still cannot put a background color on the parent div id it is center. Only if it is floated left or right.
Can you post a link to a demo page where I can see the actual HTML?
Walter
On Jul 31, 2014, at 2:04 PM, billy kimmel wrote:
So I was able to get the divs to center by adding a max-width in the extended attributes. However I still cannot put a background color on the parent div id it is center. Only if it is floated left or right.
There’s an Action to do Inline-Block, but I don’t think it’s ready for 7 at the moment. You’ll need to wait until I launch Inlay before that gets any love.
Walter
On Jul 31, 2014, at 2:58 PM, billy kimmel wrote:
Ok that worked but wow that’s a lot of steps just to get that to happen.
Ok that worked but wow that’s a lot of steps just to get that to happen.
Thank you for your help.
Billy
Billy,
for exactly this reason, I teach, recommend, preach and pray using (some) more DIVs (items) to make things like these happen.
You are a Backdraft user, have you ever had a look at the Lounge (using your BD voucher)?
If - you probably remember:
The first DIV I enter, I call #section - the outermost wrapper, 100% wide (stretching all across the browser window). The second one - the first inlineDIV I call #area. This is defining the page width - and this is the one I center. In there you can start to add the three columns (in my words the grid).
Doing this - it’s just the recommended mouse-click center for #area, done.
I have an html div that stretches the full width of the page with fixed% setting(W) and Flexible(H). Inside of that div are 4 html divs. Inside each of those divs is a graphic box and an html box for some text.
After minding about this a lil bit more, I think there only missed the max-width (1200px for the #threeWrapper) which broke the center concept for this (and all other) backdraft modules.
Unfortunately you removed (or worked further) it meanwhile - so no chance to verify.