Ha, ha. The moment you write it up, you find some answers. Have eliminated 
most of the problems with positioning by changing the attributes on the box 
into which the core-image is being inserted. Weirdly, if I add text inside 
the core-image element, then height and width are not necessary, I guess 
because the p element in there is forcing a width. But if I move the text 
outside the element (core-image empty), then it won't display unless I give 
it a width and height.

Sadly, it seems that the most painful part of Polymer, as with everything 
web, is the CSS. Sigh...

On Tuesday, December 16, 2014 12:18:33 PM UTC+13, Charles Munat wrote:
>
> I've spent roughly eight hours trying to make core-image work. I'm not 
> sure what the trick is, but the online documentation is no help at all.
>
> From what I've been able to determine, the image does not appear unless 
> dimensions are included, but there is nothing about this in the API 
> documentation. When dimensions are provided, they appear to override the 
> sizing attribute, which makes one wonder what the point of the attribute is.
>
> I just want the image to be pinned to the left and to fit the box, with 
> overflow cropped. And I want to layer text on top of it. I can get the 
> text, but can't seem to position it at all. I'm pretty sure that I'm just 
> missing some small thing, but apparently it was so small that the writers 
> of the documentation didn't think it worth mentioning. Unless I missed 
> something (very possible... brain is fried).
>
> Anyone know the trick to this? Example? The online docs are nothing but 
> frustrating.
>
> TIA.
>
> Chas.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/2cb3d29a-46a5-4bb9-9d97-a010b60721a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to