This discussion is archived
2 Replies Latest reply: Oct 19, 2012 3:57 PM by Joe Huang RSS

Image in panelpage header

Chandresh Newbie
Currently Being Moderated
I tried to center logo image in panelPage's header, it does not seem to be working.

<amx:panelPage id="pp1">
<amx:facet name="header">
<amx:panelGroupLayout id="panelGroupLayout4" halign="center" valign="middle">
<amx:image id="image1" source="/images/sni_logo_small_ps@2x.png"
inlineStyle="height:34px;width:161px;"/>
</amx:panelGroupLayout>
</amx:facet>

In Java script debugger i see this. first two div tags have 320px x 44px, but third div tag shows 320px x 39 px.

<div class="amx-panelPage-header">
<div class="amx-panelPage-facet-header">
<div class="amx-scrollable amx-node amx-panelGroupLayout" align="center" id="panelGroupLayout4">
<div>
<img src="../FARs/ViewController/public_html//images/sni_logo_small_ps@2x.png".......


Can you suggest what is wrong with my setup?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points