171 px will do for the default one but the element width changes with each language - a minor thing I know - but is there a more generic method to centre the markup item?
Trevor
freewaytalk mailing list
email@hidden
Update your subscriptions at:
Yep, understood, that’s indeed a lil cheesy and I have currently no solution for.
The widget expands to the left so I think you’ll always have the same problem as for now no matter what you’re doing. But this might be my personal opinion on this.
Cheers
Thomas
The german translation by the way is adventurous and am not sure if I’d really prefer the original one.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
Yes - I understand the translation to various languages with Google is a bit “hit and miss” BUT it gives a general view of things - not ideal I understand.
There must be a way to centralise this element - anyone . . . ?
freewaytalk mailing list
email@hidden
Update your subscriptions at:
Hi Trev,
Remove the width from the element “Item9” and set the contents of the item “header1” to text align center. This will centre the translation widget in the header regardless of the chosen text width.
Regards,
Tim.
On 11 Nov 2015, at 12:55, t50ufo email@hidden wrote:
171 px will do for the default one but the element width changes with each language - a minor thing I know - but is there a more generic method to centre the markup item?
Hi Trev,
It looks like you’ve removed the width from “item9” already. You can do this by selecting the item and setting the width to “available” in the inspector.
Select the item “header1” and double-click inside this HTML item. If I’m correct in my assumption the Google Translate item has been added in here as an inflow markup item. Command-a will select everything in the HTML item and set the text alignment to center (again using the inspector). This should align the Google Translate item in the centre of the available column width.
Regards,
Tim.
On 11 Nov 2015, at 15:34, t50ufo email@hidden wrote:
Remove item width - do you mean disable it by grey out
header 1 to text align ctr - where please.
It was a while ago now, long after my short term memory expiration date, but I seem to recall some positioning problems. The Google code produces an iframe so I’m not sure that the content is positionable, but I think that I used absolute positioning to hang it off the right. Here is what I quickly put together for your example…
Margin auto and some other forms of centering can break down for items that are not actually in the document flow (floats and scripted elements). I don’t know what the hey is with the code that makes it so, but centering it is just not a practical solution for this, so I opted for a right alignment. Maybe you will too.
Best,
freewaytalk mailing list
email@hidden
Update your subscriptions at: