0 Replies Latest reply on May 16, 2012 6:30 PM by 918581

    Specifying the margin in terms of a percentage


      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.