changeset 4:bc72be51af82

thule_fit_kits/index.*: add div.kit_id
author paulo@twcdns.fastsearch.net
date Mon, 23 Aug 2010 23:21:48 -0700
parents f6be2a5839f0
children 2ede1c948f35
files thule_fit_kits/index.css thule_fit_kits/index.php
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/thule_fit_kits/index.css	Mon Aug 23 22:53:43 2010 -0700
     1.2 +++ b/thule_fit_kits/index.css	Mon Aug 23 23:21:48 2010 -0700
     1.3 @@ -1,9 +1,13 @@
     1.4  @import "/index.css";
     1.5  
     1.6 +div.kit_id
     1.7 +{
     1.8 +	font-size: 200%;
     1.9 +}
    1.10 +
    1.11  a
    1.12  {
    1.13  	font-weight: bold;
    1.14 -	font-size: 200%;
    1.15  }
    1.16  
    1.17  td
     2.1 --- a/thule_fit_kits/index.php	Mon Aug 23 22:53:43 2010 -0700
     2.2 +++ b/thule_fit_kits/index.php	Mon Aug 23 23:21:48 2010 -0700
     2.3 @@ -43,13 +43,13 @@
     2.4  	$results = mysql_query($query);
     2.5  
     2.6  	while ($row = mysql_fetch_assoc($results)) {
     2.7 -		echo '<TR><TD>';
     2.8 +		echo '<TR><TD><DIV class="kit_id">';
     2.9  		$pdf_filename = 'pdf/thule-fit-kit-' . $row['kit_id']. '-instructions.pdf';
    2.10  		if (file_exists($pdf_filename))
    2.11  			echo '<A HREF="'. $pdf_filename . '">' . $row['kit_id'] . '</A>';
    2.12  		else
    2.13  			echo $row['kit_id'];
    2.14 -		echo '</TD><TD>';
    2.15 +		echo '</DIV></TD><TD>';
    2.16  		$cars = explode(';', $row['car']);
    2.17  		foreach ($cars as $car)
    2.18  			echo $car . '<br>';