asmith Posted December 25, 2007 Share Posted December 25, 2007 $class = "r1"; while (// fetching from sql { if ($class == "r1") { $class = "r2"; } else { $class = "r1"; } echo '<tr class="'.$class.'"> CSS tr.r1 { background-image:url(img/bgr1.gif); background-repeat:repeat-y; } tr.r2 { background-image:url(img/bgr2.gif); background-repeat:repeat-y; } guys as you see , it is for rows of a table , and it is so simple . Fire Fox show the images that are repeating perfect . but IE 6 do not show images . any way i can get IE to show them perfect too ? Link to comment https://forums.phpfreaks.com/topic/83106-table-rows-image-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.