diff options
author | morgan <morgan@ampache> | 2006-01-18 07:25:15 +0000 |
---|---|---|
committer | morgan <morgan@ampache> | 2006-01-18 07:25:15 +0000 |
commit | fde4a6a705f7d21085ca3474c03e75d575a9fd91 (patch) | |
tree | 6722f5e2cb2f0e306827c06010d2fc454bf4bf26 /templates | |
parent | 1aebb301ed5b9b10cc3c14d5f7463f7be536e2f9 (diff) | |
download | ampache-fde4a6a705f7d21085ca3474c03e75d575a9fd91.tar.gz ampache-fde4a6a705f7d21085ca3474c03e75d575a9fd91.tar.bz2 ampache-fde4a6a705f7d21085ca3474c03e75d575a9fd91.zip |
Use fixed widths so consecutive rows line up.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_now_playing.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/show_now_playing.inc b/templates/show_now_playing.inc index fc9b8032..ddd42718 100644 --- a/templates/show_now_playing.inc +++ b/templates/show_now_playing.inc @@ -47,7 +47,7 @@ foreach ($results as $item) { <?php } ?> <table class="border" cellspacing="1" cellpadding="3" border="0" width="100%"> <tr class="even"> - <td> + <td width="20%"> <div id="np_songid_<?php echo $c; ?>_holder" style="visibility: hidden; position:absolute; z-index: 10000;"> <?php echo $song->id; ?> </div> @@ -55,14 +55,14 @@ foreach ($results as $item) { <?php if (conf('use_auth')) { echo $np_user->fullname; } ?> </div> </td> - <td> + <td width="30%"> <div id="np_song_<?php echo $c; ?>"> <a title="<?php echo scrub_out($song->f_title); ?>" href="<?php echo $web_path; ?>/song.php?action=m3u&song=<?php echo $song->id; ?>"> <?php echo $song->f_title; ?> </a> </div> </td> - <td> + <td width="30%"> <div id="np_albumartist_<?php echo $c; ?>"> <a title="<?php echo scrub_out($song->f_album); ?>" href="<?php echo $web_path; ?>/albums.php?action=show&album=<?php echo $song->album; ?>"> <?php echo $song->f_album; ?> @@ -72,7 +72,7 @@ foreach ($results as $item) { </a> </div> </td> - <td> + <td width="20%"> <div id="np_img_<?php echo $c; ?>"> <a target="_blank" href="<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&type=popup" onclick="popup_art('<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&type=popup'); return false;"> <img align="middle" border="0" src="albumart.php?id=<?php echo $song->album; ?>&fast=1&thumb=1" alt="Album Art" height="75" /> @@ -100,13 +100,13 @@ for ($x=$c; $x<5; $x++) { <?php } // end if ($x==0)?> <table class="border" cellspacing="1" cellpadding="3" border="0" width="100%"> <tr class="even"> - <td> + <td width="20%"> <div id="np_songid_<?php echo $x; ?>_holder" style="visibility: hidden; position:absolute; z-index: 10000;"></div> <div id="np_fullname_<?php echo $x; ?>"></div> </td> - <td><div id="np_song_<?php echo $x; ?>"></div></td> - <td><div id="np_albumartist_<?php echo $x; ?>"></div></td> - <td><div id="np_img_<?php echo $x; ?>"></div></td> + <td width="30%"><div id="np_song_<?php echo $x; ?>"></div></td> + <td width="30%"><div id="np_albumartist_<?php echo $x; ?>"></div></td> + <td width="20%"><div id="np_img_<?php echo $x; ?>"></div></td> </tr> </table> </div> |