i lagos wrote:

weired problem:  the first time
http://www.ilagos.com/marco/published-work is loaded in Win Firefox
there is extra space between the bottom of the box and the <p> that
has the caption. when i reload  the page, the extra spacing goes away.
once page is cached you can't see extra space. it only happen on first
load.  any one has run into this?  all other modern browsers in win
and mac ok (have not tested in opera).

http://www.ilagos.com/marco/published-work
style sheet: http://www.ilagos.com/marco/textpattern/css.php?s=default

This is actually not a CSS problem. It is because you don't have a height set for your image. Since the height of the box depends on the height of the image, the browser draws the box, then loads the image in, and your box ends up bigger than it needs to be. Once it's in the cache the browser knows how tall the box needs to be and shortens it accordingly.

The old rule to always set the width and height of your images in the source still holds true.

Zoe

--
Zoe M. Gillenwater
Design Specialist
UNC Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to