Re: Apparant discrepancy between IE and FF browsers




"rf" <rf@xxxxxxxxxxx> wrote in message
news:QyuVi.6663$CN4.4278@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

"KiwiBrian" <briantoz@xxxxxxxxxx> wrote in message
news:fg5n77$7vf$1@xxxxxxxxxxxxxxxxxx
I welcome confirmation and elucidation on the following experience of CSS
behaviour.
In IE6 and 7 if an image is within a div, and the div has padding, and
the image has margins, the margins on the image are ignored where they
*** up against (are adjacent to) the div's padding.
In FF the image margin is obeyed.

URL?

If this is correct is it conditional upon other factors?

Quirks mode?

Hi Richard.
Thanks for your reply.
I should have mentioned that my page where I noticed the behaviour that I
reported and queried was using the same strict doctype as dorayme used in
his example page.
As there has not been a flood of replies confirming my results, I suspect
that I may have encountered a red herring.
I spen several hours testing, as I find it so very easy to form the wrong
conclusion, but I will visit the situation anew.
If I seem to have a valid example of the suspect behaviour I will put a page
online for perusal.
Brian Tozer


.


Quantcast