0 Replies Latest reply: May 16, 2012 1:30 PM by 918581 RSS

    Specifying the margin in terms of a percentage

    918581
      Hi,

      I have a simple panelGroupLayout component in my page and i have specified the margin along with other styles in a css document.

      margin: 252px 0 0 300px;

      But the problem is whenever the screen resolution changes the component position moves along with it.

      so i need to declare it as a percentage so that i suits to all resolutions. But using % in css is not making any effect to the position.

      Please help.

      Thanks,
      Hari