Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: search.inc.php  (Read 4386 times)

0 Members and 1 Guest are viewing this topic.

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
search.inc.php
« on: June 01, 2016, 10:47:37 am »

include/search.inc.php

If the second td has width=100% then the first td has... ?
Also width=100% should be width="100%"
 
Code: [Select]
                                <tr>
                                  <td>
                                    <a href="<?php printf("thumbnails.php?album=%u"$alb['aid']); ?> ">
                                        <img src="<?php echo $thumb_url?>"  class="image" <?php echo $thumb_size['geom'?> border="0" alt="<?php echo $thumb['filename'?>">
                                    </a>
                                  </td>
                                  <td width=100% valign=top>
                                    <?php if ($alb['description'] == "") { echo '&nbsp;'; } else { echo $alb['description']; } ?>
                                  </td>
                                </tr>
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: search.inc.php
« Reply #1 on: June 07, 2016, 10:45:42 am »

If the second td has width=100% then the first td has... ?

The first td will consume as much as needed, the rest of the screen is used by the second td. What do you suggest?


Also width=100% should be width="100%"

I'll fix that typo. Thanks.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Re: search.inc.php
« Reply #2 on: June 09, 2016, 06:17:30 pm »

The first td will consume as much as needed, the rest of the screen is used by the second td. What do you suggest?

Is working but I thought is incorrect code to have 2 tds and one to have 100%.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.