1 Reply Latest reply on Oct 7, 2011 6:03 AM by Akaine Harga

    panelgrid spacing in firefox and ie

    semua60 Newbie



      How to resolve different view in browser firefox and ie? See the screen capture below.

      Spacing between textbox component, in ie and firefox is different.




        • 1. Re: panelgrid spacing in firefox and ie
          Akaine Harga Novice

          Always reset css attributes of all common elements when writing a css for a website.


          Means the very first line of the first css you declare for your page shold contain:

          html, body, form, fieldset, input, select, div, p, br, table, tr, td {padding: 0; border: none; margin: 0;}


          so when you apply a class to an element it "looks" the same in all browsers.