Solved

Getting rid of extra space in cell

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

705 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

19 Experts available now in Live!

Get 1:1 Help Now