Solved

Getting rid of extra space in cell

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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
CSS - Centering an image 2 48
SVG and IE11 2 37
PHP Command to Open New Tab/Page using Window.Open 3 34
Loading Self-Hosted Fonts 12 44
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
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ā€¦
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

752 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