[Javascript] problem with images

Iztok Polanic iztok.polanic at amis.net
Sat Feb 12 12:15:28 CST 2005


Hi!

This is a more CSS problem but you guys are the best.
Below is <span> object with background-image property. The problem lies 
in downloading this image by the browser. Sometimes it is shown 
sometimes it is not. I also tried with preloading the image, but still 
no success.

<span style="background-image: url(images/ozadje_letnica.jpg); width: 
203px; height: 19px; max-width: 203px; max-width: 19px; text-align: 
right;"><a href="javascript:void(0)" onClick="some()" 
style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 
11px; color: #737987; text-decoration:none; line-height:18px; 
margin-right:20px;">date</a></span><br>


One more thing. Except for the background-image, it renders perfectly in 
IE. But in firefox, the image is shown but not whole (only by the width 
of the text). Any ideas/suggestions?


-- 
Bye,

Iztok




More information about the Javascript mailing list