- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I want to be able to layer one graphic on top of another. An example would be an invisible button on top of a graphic. Another would be graphic background on which I placed several other graphics.
I know I can do this with the CSS z-index, but wanted to know if the designer could handle this. It doesn't look like it.
- Balises:
- HTML5
- Intel® XDK
Lien copié
1 Répondre
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
App Designer can do it. The next release of AD has much improved "absolute positioning" support that will make the whole experience much more obvious.
But, the current shipping one supports it. Do the following:
- Drag out a row. If needed, use its style control to size it. (Or you can drag it taller with the row divider).
- Turn ON the Absolute Positioning Checkbox at the top of the controls pane.
- Drag out your image (or whatever) into the row. It will be absolutely positioned. Meaning, it has a z-index etc.
- Drag out your next, etc.
- When done, turn OFF the Absolute Positioning checkbox.
Absolute positioning has drawbacks, there are dozens of CSS tutorials and discussions online that can help you understand the tradeoffs.
Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable