bengore
asked on
load images after loading the full HTML file
I have a webpage with 10 images and some texts. I do not know the height and width of the (random) images, so I'm not using width and height in the IMG tag. But now it takes very long to display the full website, because the IE first try to get the width and heigh of the images (which are on other slow or down servers) and after this the IE loads and display the full HTML page.
Is there a way that the IE first load and display the HTML code and then try to display the images?
Perhaps there is a special META-TAG? Or a special IMG tag like Maxwidth and Maxheight force the IE to display the HTML page befor loading the images?
Thanks for your ideas!
Ben
Is there a way that the IE first load and display the HTML code and then try to display the images?
Perhaps there is a special META-TAG? Or a special IMG tag like Maxwidth and Maxheight force the IE to display the HTML page befor loading the images?
Thanks for your ideas!
Ben
adding the width and height of the images would solve the problem.
I don't know how you determine those random images; perhaps you can add the width and height to the list of urls that is allready stored somewhere.....
I don't know how you determine those random images; perhaps you can add the width and height to the list of urls that is allready stored somewhere.....
ASKER
I solved the problem: I add this CSS:
<style type="text/css">
<!--
table.abba{font-family: Trebuchet MS,verdana,arial, helvetica;
font-size: 10px;
color:#C0C0C0;
text-align:center;
table-layout:fixed;
width:800px;
}
.abba td{width:400px;
height:100px;
}
td{font-family: Trebuchet MS,verdana,arial, helvetica;
font-size: 12px;
align:center;
}
-->
</style>
<style type="text/css">
<!--
table.abba{font-family: Trebuchet MS,verdana,arial, helvetica;
font-size: 10px;
color:#C0C0C0;
text-align:center;
table-layout:fixed;
width:800px;
}
.abba td{width:400px;
height:100px;
}
td{font-family: Trebuchet MS,verdana,arial, helvetica;
font-size: 12px;
align:center;
}
-->
</style>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So, the speed of the download will depend in a large part on your layout. Other than some sort of scripting, the simplest method is to put the images at the bottom of the page.