if you go to http://summitpcg.com/focus.html or any other page on there, in firefox there is a purple small box to the right of the nav bar that i cant get rid of. in IE it isn’t there. the container for the flash file is 140 px in height, and the flash file is 135 px which leaves 5 px at the bottom. i cant figure out where the extra mark is coming from. any help?
Try this,
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”
“http://www.w3.org/TR/html4/strict.dtd”>
<html>
<head>
<link rel=“stylesheet” type=“text/css” href=“styles/style.css” />
<link rel=“stylesheet” type=“text/css” href=“styles/menu.css” />
<title>Summit Private Capital Group</title>
<META NAME=“Description” CONTENT=“Summit Private Capital Group (SPCG) is a specialty merchant banking boutique that provides customized financing, strategic advisory, and alternative investment solutions to smaller and mid-sized companies.”>
<META NAME=“Keywords” CONTENT="Summit, Summit Private, Summit Private Capital, Financial Restructuring, Liquidity Services, Mergers, Acquisitions, merchant banking ">
<META NAME=“Robots” CONTENT=“index, follow”>
<script src=“scripts/AC_RunActiveContent.js” language=“javascript” type=“text/JavaScript”></script>
<!–[if gte IE 5.5]>
<script language=“JavaScript” src=“scripts/navBar.js” type=“text/JavaScript”></script>
<![endif]–>
</head>
<body>
<div id=“page”>
<div id=“header”><img src=“SPCG_logo.gif” alt=“Summit Private Capital Group”>
<div id=“sidebox”>Capital | Redefined.</div>
</div> <!-- END header –>
<!-- START nav -->
<div id=“menu”>
<ul>
<li><a href=“/aboutus.html” title=“About Us”><h2>About Us</h2></a>
<ul>
<li><a href="/founder.html" title="Founder's Message">Founder's Message</a>
<li><a href="/approach.html" title="Our Approach">Our Approach</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href=“/capital.html” title=“Capital”><h2>Capital</h2></a>
<ul>
<li><a href="/mission.html" title="Our Mission">Our Mission</a>
<li><a href="/advantage.html" title="The SPCG Advantage">The SPCG Advantage</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href=“/capabilities.html” title=“Capabilities”><h2>Capabilities</h2></a>
<ul>
<li><a href="/tools.html" title="The Right Tools">The Right Tools</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href=“/focus.html” title=“Focus”><h2>Focus</h2></a>
<ul>
<li><a href="/investors.html" title="Investors">Investors</a>
<li><a href="/privfinancing.html" title="Private Financing">Private Financing</a></li>
<li><a href="/corpfinancing.html" title="Corporate Financing">Corporate Financing</a></li>
<li><a href="/busrevitilazation.html" title="Business Revitalization">Business Revitalization</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href=“/resources.html” title=“Resources”><h2>Resources</h2></a>
<ul>
<li><a href=“/executivepartners.html” title=“Executive Partners”>Executive Partners</a>
<li><a href="/specialsituation.html" title="Special Opportunities">Special Opportunities</a></li>
</ul>
</li>
</ul>
<ul>
<li><a href=“/contact.php” title=“Contact Us”><h2>Contact</h2></a>
</li>
</ul>
</div>
<!-- END nav –>
<!-- START picbar –>
<div id=“picbar”>
<script language=“javascript” type=“text/JavaScript”>
if (AC_FL_RunContent == 0) {
alert(“This page requires AC_RunActiveContent.js.”);
} else {
AC_FL_RunContent(
‘codebase’, ‘http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0’,
‘width’, ‘750’,
‘height’, ‘135’,
‘src’, ‘speedAndStrength’,
‘quality’, ‘high’,
‘pluginspage’, ‘http://www.macromedia.com/go/getflashplayer’,
‘align’, ‘middle’,
‘play’, ‘true’,
‘loop’, ‘true’,
‘scale’, ‘showall’,
‘wmode’, ‘opaque’,
‘devicefont’, ‘false’,
‘id’, ‘speedAndStrength’,
‘bgcolor’, ‘#333366’,
‘name’, ‘speedAndStrength’,
‘menu’, ‘true’,
‘allowFullScreen’, ‘false’,
‘allowScriptAccess’,‘sameDomain’,
‘movie’, ‘speedAndStrength’,
‘salign’, ‘’
); //end AC code
}
</script>
<noscript>
<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0” width=“750” height=“135” id=“speedAndStrength” align=“middle”>
<param name=“wmode” value=“opaque”>
<param name=“allowScriptAccess” value=“sameDomain” />
<param name=“allowFullScreen” value=“false” />
<param name=“movie” value=“speedAndStrength.swf” /><param name=“quality” value=“high” /><param name=“bgcolor” value=“#333366” /> <embed src=“speedAndStrength.swf” wmode=“opaque” quality=“high” bgcolor=“#333366” width=“750” height=“135” name=“speedAndStrength” align=“middle” allowScriptAccess=“sameDomain” allowFullScreen=“false” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />
</object>
</noscript>
</div>
<!-- END picbar –>
<!-- START content -->
<div id="content">
<!-- START secondMenu -->
<div id="secondMenu">
<ul>
<li class=“posted”>Focus</li>
<li>|</li>
<li class=“posted”><a href=“investors.html”>Investors</a></li>
<li>|</li>
<li class=“posted”><a href=“privfinancing.html”>Private Financing</a></li>
<li>|</li><p>
<li class=“posted”><a href=“corpfinancing.html”>Corporate Financing</a></li>
<li>|</li>
<li class=“posted”><a href=“busrevitilazation.html”>Business Revitalization</a></li>
</ul>
</div><br>
<!-- END secondMenu –>
<p>Summit Private Capital Group </p><br>
<div id=“empty”>
</div>
</div> <!-- END content –>
<!-- START sidebar -->
<div id="sidebar">
<script language="javascript" type="text/JavaScript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '220',
'height', '400',
'src', 'quotes4',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'quotes4',
'bgcolor', '#999999',
'name', 'quotes4',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'quotes4',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0” width=“220” height=“400” id=“quotes4” align=“middle”>
<param name=“allowScriptAccess” value=“sameDomain” />
<param name=“allowFullScreen” value=“false” />
<param name=“movie” value=“quotes4.swf” /><param name=“quality” value=“high” /><param name=“bgcolor” value=“#999999” /> <embed src=“quotes4.swf” quality=“high” bgcolor=“#999999” width=“220” height=“400” name=“quotes4” align=“middle” allowScriptAccess=“sameDomain” allowFullScreen=“false” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />
</object>
</noscript>
</div> <!-- END sidebar –>
<!-- START footer -->
<div id="footer">
<ul>
<li>© 2008 Summit Private Capital Group. All rights reserved.</li>
<li>|</li>
<li>240 Cedar Knolls Rd. Suite 306 Cedar Knolls, NJ 07927</li>
<li>|</li>
<li><a href="privacy.html">Privacy</a></li>
<li>|</li>
<li><a href="sitemap.html">Sitemap</a></li>
<li>|</li>
<li><a href="#">Log-In</a></li>
</ul>
</div> <!-- END footer -->
</div> <!-- END page –>
</body>
</html>
If that doesn’t work for you try replacing your menu.css with
#menu{
width:100%;
float:center;
margin-right: auto;
margin-left: auto;
}
#menu a{
font:normal 90%/205% helvetica, arial,sans-serif;
display:block;
border-width:0px;
border-style:solid;
border-color:#ccc #888 #555 #bbb;
white-space:nowrap;
margin:0;
padding:0;
}
#menu h2{
font:bolder 90%/205% Trebuchet MS, helvetica, arial,sans-serif;
display:block;
border-width:0px;
border-style:solid;
border-color:#ccc #888 #555 #bbb;
white-space:nowrap;
margin:0;
padding:0;
text-align: center;
background: #333366;
}
#menu h2{
color:#fff;
background:#333366;
text-transform:uppercase
}
#menu a{
background:#333366;
text-decoration:none;
}
#menu a, #menu a:visited{
color:#FFF;
}
#menu a:hover{
color:#000;
background:#FFF;
}
#menu a:active{
color:#CCC;
background:#333366;
}
#menu ul{
list-style:none;
margin:0;
padding:2px;
width:10em;
float:left;
background: #999;
}
#menu li{
position:relative;
padding: 0;
margin: 0;
vertical-align: bottom;
}
#menu ul ul{
position:absolute;
z-index:500;
top:auto;
display:none;
}
#menu ul ul ul{
top:0;
left:100%;
}
div#menu h2:hover{
background:#333366;
}
div#menu li:hover{
cursor:pointer;
z-index:100;
}
div#menu li:hover ul ul,
div#menu li li:hover ul ul,
div#menu li li li:hover ul ul,
div#menu li li li li:hover ul ul
{display:none;}
div#menu li:hover ul,
div#menu li li:hover ul,
div#menu li li li:hover ul,
div#menu li li li li:hover ul
{display:block;}
#menu a.x, #menu a.x:visited{
font-weight:normal;
color:#FFF;
background:#333366;
}
#menu a.x:hover{
color:#333366;
background:#CCC;
}
#menu a.x:active{
color:#CCC;
background:#333366;
}
#secondMenu{
width: 100%;
height: 50px;
text-align: center;
font:normal 1.0em Arial, helvetica, arial,sans-serif;
font-weight: bolder;
border: solid;
border-width: 2px;
border-color: #666666;
background: #999;
margin: 0px;
padding-top: 5px;
padding-bottom: 5px;
color: #330066;
}
#secondMenu ul{
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
}
#secondMenu li
{
display: inline;
list-style-type: none;
padding-right: 5px;
text-decoration: none;
}
#secondMenu a {font:normal .8em helvetica, arial,sans-serif;
display:inline;
margin:0;
padding:0;
font-weight: bolder;
text-decoration: none;
color: #FFF;
}
#secondMenu a:hover {color: #333366;
text-decoration: none;
font-weight: bolder;}
hr.f {border: none 0;
border-top: 3px double #FFF;
width: 80%;
height: 3px;
margin: 10px auto 0 0;
text-align: center;
margin-right: auto;
margin-left: auto;
}
li.posted {
background: transparent url(bullet.gif) no-repeat left;
padding: 0 0 0 15px;
}
hmm neither one worked. its a really weird bug. i cant seem to track it down
Here is your issue:
#picbar {
background:#333366 none repeat scroll 0%;
it didnt change anything. i think i tried something similar to that but doesnt work.
Deleting that line fixed the Firefox problem for me.
when i delete that line the weird part goes away but so does the purple bg underneath the flash.
heres a pic
Then add a bottom border and remove the padding-bottom:
border-bottom:4px solid #333366;
margin:0pt auto;
min-height:140px;
width:750px;
If you need that padding, add padding-top to the div you are wanting it to affect.
awesome thanks actionaction! it is now fixed in firefox, but now IE shows a gap. i tried margin-bottom: 0; but still has a gap
use the ie hack and set a separate set of rules for that in your file if the browser is ie.
Yes yes. No problem jynx! :thumb2:
<!--[if IE]>
<style type="text/css">
#picbar {
background:#333366 none repeat scroll 0%;
border:none;
}
</style>
<![endif]-->
awesome, i actually was looking that up in google, a couple hours ago. thanks a lot for the help everyone!