michaellunsford Posted August 21, 2007 Share Posted August 21, 2007 Okay, so this works in safari, but nothing else. Does it need a separate div id for each image I want to load? <style type="text/css"> #preloader { height:1px; width:1px; background:url(images/index_04__01.jpg); background:url(images/index_04__02.jpg); background:url(images/index_02__05.jpg); background:url(images/index_02__06.jpg); background:url(images/index_05__08.jpg); background:url(images/index_05__10.jpg); background:url(images/index_02__21.jpg); } </style> <div id="preloader"></div> Quote Link to comment https://forums.phpfreaks.com/topic/65918-solved-image-preloader-problems/ Share on other sites More sharing options...
ToonMariner Posted August 21, 2007 Share Posted August 21, 2007 you can only have one bg image per element in css2 (when css3 is better supported teh web will be a truely beatuiful place). Quote Link to comment https://forums.phpfreaks.com/topic/65918-solved-image-preloader-problems/#findComment-329745 Share on other sites More sharing options...
michaellunsford Posted August 21, 2007 Author Share Posted August 21, 2007 nice -- well javascript is a fair weather friend. I guess I'll give him a call. Thanks for the quick reply. Quote Link to comment https://forums.phpfreaks.com/topic/65918-solved-image-preloader-problems/#findComment-329871 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.