开发者

How Can I make all my website components appear at once (instead of in pieces)?

开发者 https://www.devze.com 2023-01-31 14:47 出处:网络
I have created a simple python web site using Google App Engine.Currently, the page loads the forms/text first and then pictures second.When they load, things move around a bit until the layout is ful

I have created a simple python web site using Google App Engine. Currently, the page loads the forms/text first and then pictures second. When they load, things move around a bit until the layout is fully loaded.

Is there a way to make the page appear onl开发者_StackOverflow中文版y when all components have loaded instead of piece by piece?

Thanks.


I don't think this is a Python question per se; this happens in HTML unless you pre-specify the size of your images, ie

<img src='myimg.jpg' />

will cause the browser to redo the layout after the image loads, while

<img src='myimg.jpg' style='width:200px;height:150px' />

will not.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号