Jump to content

Table Rows image HELP


asmith

Recommended Posts

$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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.