Home › Forums › CSS › Weird Google Chrome bug on text aligned to bottom of div. › Re: Weird Google Chrome bug on text aligned to bottom of div.
That probable happens because the first time you enter the page, the images are not loaded so the browser doesn’t know their actual dimensions, so the positioning is measured without them. After the images are loaded, the flow changes but the browser doesn’t render it, the second time you enter the site, or if you navigate, the browser already knows the dimensions of the images so the positioning is right this time!
Relying on images sizes for layout and positioning is not a very good practice and also sometimes causes visual errors, one should always define width and height for img elements.