2 Replies Latest reply on Aug 17, 2007 6:44 AM by Newsgroup_User

    Firefox and image placement

    Level 7
      Hi;

      at http://www.pccashdrawer.com/index07.html I have an image in the upper
      left hand cell and a continuation of that image as a background image in the
      cell to its right. In firefox, they don't line up unless you reduce the
      browser text size to its smallest possible size. This is not a problem in
      IE. What do I do to get the 2 images to line up in FF ?

      Thanks;

      Pat


        • 1. Re: Firefox and image placement
          Level 7
          On Thu, 16 Aug 2007 14:53:45 -0600, "Pat Jones" <Pat@marketingguy.org>
          wrote:

          >Hi;
          >
          >at http://www.pccashdrawer.com/index07.html I have an image in the upper
          >left hand cell and a continuation of that image as a background image in the
          >cell to its right. In firefox, they don't line up unless you reduce the
          >browser text size to its smallest possible size. This is not a problem in
          >IE. What do I do to get the 2 images to line up in FF ?
          >
          >Thanks;
          >
          >Pat
          >

          Don't put the image inside a paragraph tag, or set the default margin
          and padding on <p> to 0.

          Each browser uses a different default margin and padding on HTML
          elements. It's why you'll see advice here to zero out all margins and
          paddings - you'll start with a level playing field.

          Doesn't matter that you've defined the height of the table cell to
          match the height of the image. Table cells always stretch to
          accommodate their contents.

          Win
          --
          Win Day, Wild Rose Websites
          http://www.wildrosewebsites.com
          winday@NOSPAMwildrosewebsites.com
          Skype winifredday
          • 2. Re: Firefox and image placement
            Level 7
            Thanks Win.

            Works like a charm

            Pat

            "Win Day" <winday@NOSPAMwildrosewebsites.com> wrote in message
            news:14d9c3d9vbtsk7mo8ov6uedo3lqrvuhcfs@4ax.com...
            > On Thu, 16 Aug 2007 14:53:45 -0600, "Pat Jones" <Pat@marketingguy.org>
            > wrote:
            >
            >>Hi;
            >>
            >>at http://www.pccashdrawer.com/index07.html I have an image in the upper
            >>left hand cell and a continuation of that image as a background image in
            >>the
            >>cell to its right. In firefox, they don't line up unless you reduce the
            >>browser text size to its smallest possible size. This is not a problem in
            >>IE. What do I do to get the 2 images to line up in FF ?
            >>
            >>Thanks;
            >>
            >>Pat
            >>
            >
            > Don't put the image inside a paragraph tag, or set the default margin
            > and padding on <p> to 0.
            >
            > Each browser uses a different default margin and padding on HTML
            > elements. It's why you'll see advice here to zero out all margins and
            > paddings - you'll start with a level playing field.
            >
            > Doesn't matter that you've defined the height of the table cell to
            > match the height of the image. Table cells always stretch to
            > accommodate their contents.
            >
            > Win
            > --
            > Win Day, Wild Rose Websites
            > http://www.wildrosewebsites.com
            > winday@NOSPAMwildrosewebsites.com
            > Skype winifredday