Solved

Getting rid of extra space in cell

Posted on 2011-03-06
2
296 Views
Last Modified: 2012-05-11
My code is below and the page is http://www.countryshowdown.com/Texaco/contestant.php?id=64

I need to get rid of all that extra space you see in the black cell where the mp3 player is but I don't know how.

Suggestions?

Here's the code:

<tr>
<td width="302" height="32" background="images/spacer.gif" width="302" height="32" class="header">
<table width="302" cellspacing="0" cellpadding="0" border="1"><tr><td display:inline;>&nbsp;Music &nbsp;</td><td><object type="application/x-shockwave-flash" data="../mp3/player_mp3.swf"" width=150"><param name="movie" value="../mp3/player_mp3.swf" />
<param name="allowScriptAccess" value="always" />
<param name="wmode" value="transparent" />
<param name="FlashVars" value="mp3=../mp3/<?php echo $contestant_mp3; ?>&title=<?php echo $contestant_song_title; ?>&amp;showstop=1&amp;showvolume=1&amp;bgcolor1=000000&amp;bgcolor2=000000&amp;bgcolor3=000000" /></object></td></tr></table></td>
</tr>
0
Comment
Question by:brucegust
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
sjklein42 earned 500 total points
ID: 35051892
Set a height in the object tag:

<table>
<tr>
<td width="302" height="32" background="images/spacer.gif" width="302" height="32" class="header">
<table width="302" cellspacing="0" cellpadding="0" border="1"><tr><td display:inline;>&nbsp;Music &nbsp;</td><td><object type="application/x-shockwave-flash" data="../mp3/player_mp3.swf"" width=150 height=32"><param name="movie" value="../mp3/player_mp3.swf" />
<param name="allowScriptAccess" value="always" />
<param name="wmode" value="transparent" />
<param name="FlashVars" value="mp3=../mp3/<?php echo $contestant_mp3; ?>&title=<?php echo $contestant_song_title; ?>&amp;showstop=1&amp;showvolume=1&amp;bgcolor1=000000&amp;bgcolor2=000000&amp;bgcolor3=000000" /></object></td></tr></table></td>
</tr>
</table>

Open in new window

0
 

Author Comment

by:brucegust
ID: 35052953
Perfect!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question