Jump to content

Can I use an include file.css for repeating table format ?


Recommended Posts

Hi,

 

My php code is supposed to go into this html template. In there a way I can call include ("file.css") and have this template below appear for each table within my form - there are 4 such tables and each has 4-5 php links .  If i leave it like this, i think there is every chance of an error while the php coding gets underway. If not, could anyone please suggest a cleaner way for this ?

Many thanks:Swati


  <div align=center>
  <table class=MsoTableGrid border=0 cellspacing=4 cellpadding=0
   style='background:#000058'>
   <tr style='height:24.1pt'>
    <td width=95 style='width:2.0cm;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=CHECKBOX><span lang=EN-US> </span></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US>ADD</span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US>UPDATE</span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 7.2pt;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US>VIEW</span></b></p>
    </td>
   </tr>
   <tr style='height:24.1pt'>
    <td width=95 style='width:2.0cm;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=CHECKBOX><span lang=EN-US>GROUP</span></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US>
<? echo "<a href=\"add_group1.php?Userid=$userid\">
<img width=33 height=33 src="salesfinally_files/image002.gif"></span></a>";?></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US><img
    width=33 height=33 src="salesfinally_files/image002.gif"></span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 7.2pt;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US><img
    width=33 height=33 src="salesfinally_files/image002.gif"></span></b></p>
    </td>
   </tr>
   <tr style='height:24.1pt'>
    <td width=95 style='width:2.0cm;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=CHECKBOX><span lang=EN-US>company</span></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US><img
    width=29 height=29 src="salesfinally_files/image003.gif"></span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US><img
    width=29 height=29 src="salesfinally_files/image003.gif"></span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 7.2pt;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US><img
    width=29 height=29 src="salesfinally_files/image003.gif"></span></b></p>
    </td>
   </tr>
   <tr style='height:24.1pt'>
    <td width=95 style='width:2.0cm;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=CHECKBOX><span lang=EN-US>ADDRESS</span></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US
    style='background:olive'><img width=26 height=26
    src="salesfinally_files/image004.gif" alt="Adobe Systems"></span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US
    style='background:olive'><img width=26 height=26
    src="salesfinally_files/image004.gif" alt="Adobe Systems"></span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 7.2pt;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US
    style='background:olive'><img width=26 height=26
    src="salesfinally_files/image004.gif" alt="Adobe Systems"></span></b></p>
    </td>
   </tr>
   <tr style='height:24.1pt'>
    <td width=95 style='width:2.0cm;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=CHECKBOX><span lang=EN-US>contact</span></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US
    style='background:gray'><img width=24 height=24
    src="salesfinally_files/image005.gif" alt="Adobe Systems"></span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US
    style='background:gray'><img width=24 height=24
    src="salesfinally_files/image005.gif" alt="Adobe Systems"></span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 7.2pt;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US
    style='background:gray'><img width=24 height=24
    src="salesfinally_files/image005.gif" alt="Adobe Systems"></span><span
    lang=EN-US> </span></b></p>
    </td>
   </tr>
   <tr style='height:24.1pt'>
    <td width=95 style='width:2.0cm;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=CHECKBOX><span lang=EN-US>OVERSEAS</span></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US><img
    width=19 height=26 src="salesfinally_files/image006.gif" alt="Adobe Systems"></span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 0cm;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US> </span></b></p>
    </td>
    <td width=170 style='width:102.05pt;padding:0cm 0cm 0cm 7.2pt;height:24.1pt'>
    <p class=TODOTEXT style='margin-left:0cm'><b><span lang=EN-US> </span></b></p>
    </td>
   </tr>
  </table>
  </div>

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.