stelthius Posted March 4, 2009 Share Posted March 4, 2009 Hello everyone, Im making a progress bar for a pm system to show the amount of pms a user has it works in IE6 & IE 7 but not in firefox, can anyone see were im going wrong ? I have also attached a screenshot of both IE working and firefox not working. <div style="width: 250px; border-style: solid; border-width: 1px; border-color: #000000;"> <span style="width: <?php echo $total_used; ?>%; background-image: url(progress.png);"><?php echo $total_used; ?>%</span> Regards Rick. Link to comment https://forums.phpfreaks.com/topic/147835-solved-css-problems-with-progress-bar/ Share on other sites More sharing options...
stelthius Posted March 4, 2009 Author Share Posted March 4, 2009 Solved using the following <div style="width: 250px; border-style: solid; border-width: 1px; border-color: #000000;"> <div style="min-width: <?php echo $total_used; ?>%; width: <?php echo $total_used; ?>%; background-image: url(progress.png);"><?php echo $total_used; ?>%</div> Doesnt take much once you have had a break Link to comment https://forums.phpfreaks.com/topic/147835-solved-css-problems-with-progress-bar/#findComment-775966 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.