Solved

Getting rid of extra space in cell

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

896 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now