How to Remove Cell Spacing if its already at 0??

Here is the code I’m using:

[code]<?php

date_default_timezone_set(‘EST’);
?>

body {font-family:"Arial";} p.ncfa {background-color:#016938;color:#e6e7e8;font-size:13px;} p.fsu {background-color:#cccc99;color:#660000;font-size:13px;} p.ind {background-color:#821800;color:#ffffff;font-size:13px;} p.iowa {background-color:#ffcc00;color:#000000;font-size:13px;} p.ohst {background-color:#adafaa;color:#a51414;font-size:13px;} p.wis {background-color:#961414;color:#ffffff;font-size:13px;} p.neb {background-color:#af1919;color:#ffffff;font-size:13px;} p.bay {background-color:#ffb500;color:#245824;font-size:13px;} p.bg {background-color:#7d4b0f;color:#ff5d0a;font-size:13px;} p.ore {background-color:#efd91c;color:#044520;font-size:13px;} p.ucla {background-color:#f3cc01;color:#003399;font-size:13px;} p.flo {background-color:#fd5a1e;color:#ffffff;font-size:13px;} p.alb {background-color:#cbcbcb;color:#8b0000;font-size:13px;} p.pur {background-color:#c0b08d;color:#000000;font-size:13px;}
<td align="center" width="50%"> 
<?php
$filename = 'NCFA/exports/Team98.coa';
echo "<p class=\"alb\"><b>";
echo "Alabama Crimson Tide </b><br>&nbsp;";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
  echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<td align="center" width="50%"> 
<?php
$filename = 'NCFA/exports/Team21.coa';
echo "<p class=\"iowa\"><b>";
echo "Iowa Hawkeyes </b><br>&nbsp;";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
  echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<td align="center" width="50%"> 
<?php
$filename = 'NCFA/exports/Team29.coa';
echo "<p class=\"wis\"><b>";
echo "Wisconsin Badgers </b><br>&nbsp;";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
  echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<td align="center" width="50%"> 
<?php
$filename = 'NCFA/exports/Team36.coa';
echo "<p class=\"bay\"><b>";
echo "Baylor Bears </b><br>&nbsp;";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
  echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<td align="center" width="50%"> 
<?php
$filename = 'NCFA/exports/Team82.coa';
echo "<p class=\"ore\"><b>";
echo "Oregon Ducks </b><br>&nbsp;";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
  echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<td align="center" width="50%"> 
<?php
$filename = 'NCFA/exports/Team92.coa';
echo "<p class=\"flo\"><b>";
echo "Florida Gators </b><br>&nbsp;";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
  echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<?php $filename = 'NCFA/NCFA.zip'; echo "

"; echo "Latest NCFA League File Update
 "; if (file_exists($filename)) { echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';} else { echo "File doesn't exist!";} echo "

"; ?>
<?php $filename = 'NCFA/exports/Team6.coa'; echo "

"; echo "Florida State Seminoles
 "; if (file_exists($filename)) { echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';} else { echo "File doesn't exist!";} echo "

"; ?>
<?php $filename = 'NCFA/exports/Team20.coa'; echo "

"; echo "Indiana Hoosiers
 "; if (file_exists($filename)) { echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';} else { echo "File doesn't exist!";} echo "

"; ?>
<?php $filename = 'NCFA/exports/Team24.coa'; echo "

"; echo "Ohio State Buckeyes
 "; if (file_exists($filename)) { echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';} else { echo "File doesn't exist!";} echo "

"; ?>
<?php $filename = 'NCFA/exports/Team35.coa'; echo "

"; echo "Nebraska Cornhuskers
 "; if (file_exists($filename)) { echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';} else { echo "File doesn't exist!";} echo "

"; ?>
<?php $filename = 'NCFA/exports/Team65.coa'; echo "

"; echo "Bowling Green Falcons
 "; if (file_exists($filename)) { echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';} else { echo "File doesn't exist!";} echo "

"; ?>
<?php $filename = 'NCFA/exports/Team85.coa'; echo "

"; echo "UCLA Bruins
 "; if (file_exists($filename)) { echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';} else { echo "File doesn't exist!";} echo "

"; ?>
<?php $filename = 'NCFA/exports/Team28.coa'; echo "

"; echo "Purdue Boilermakers
 "; if (file_exists($filename)) { echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';} else { echo "File doesn't exist!";} echo "

"; ?>
[/code]

And here’s the output:
http://cfa-football.com/NCFA.php

Are you referring to the spacing between your team cells?

I would remove the

tags and make those areas spans.

I’m not sure why the tag was there in the first place (had some help from a friend of mine) but removing it did nothing at all. Didn’t even effect it negatively LOL…

This is what it would look like, with some other changes.

That’s the look I’m going for…

Because this isn’t dynamic, you get to change some values…
[php]

Florida State Seminoles
 December 14 2015 06:37:31 PM EST ... 41842 bytes[/php]

Then go into the css and change p.fsu to td.fsu

For every cell.

Sponsor our Newsletter | Privacy Policy | Terms of Service