Solved

Getting rid of extra space in cell

Posted on 2011-03-06
2
306 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

630 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