For some reason, IE displays the product box correctly, however, Firefox renders the page with the product picture and information not actually inside the grey box.
I've prowled through the CSS to no end, but I can't figure out what's stopping this from displaying correctly in Firefox. Any ideas, anyone?
I'm new to css and by far no expert but at first glance I'm guessing the problem has to do with the fact that you did not specify a height for prod-box.
Hope this helps,
-Phaaze
(Edit: The other thing you could try if the image is dynamic, therefore different on each page, is giving prod-box a display: table; - I don't know if this is good common practice or not but I do believe it works.)
__________________ Please login or register to view this content. Registration is FREE
Your solution for 'display: table' nearly had me thinking I might have sorted it! But, although it isn't supported by IE, that did fix the problem by displaying correctly in both Firefox and IE, but didn't work just right in Safari.
Back to the drawing board? Thanks though, great help!
Because any time you use floats, Firefox (and I believe most other browsers) require them to be cleared. I've never really been sure why that is, other than because floats tend to "float" outside of the content area (hence their name).
LNR would probably be able to come up with a better explanation or link than I can.