rexolio2008
Technical User
I'm posting this here because I believe it's a CSS issue and not a Flash issue.
I'm trying to implement a flash photo gallery into a site I'm helping with. The flash is contained in a div with a height of 479 pixels. The SWF is set to appear in 100% of it's container (#text-exp2), so I believe it's a non-issue. Besides, it looks GREAT in IE7 and Safari. In Firefox 3, it's shrunk (in height).
I just don't know what it could be. I wasn't sure if I should post the entire CSS here, but here's a snippet of it, and if that doesn't help, I've posted a link to it below that!
And now the HTML:
If that doesn't help, you can see how the gallery works when it's NOT in a div (meaning it takes up 100% of the space) here:
Then you can view it as I have it (which again works fine in IE and Safari):
I'm trying to implement a flash photo gallery into a site I'm helping with. The flash is contained in a div with a height of 479 pixels. The SWF is set to appear in 100% of it's container (#text-exp2), so I believe it's a non-issue. Besides, it looks GREAT in IE7 and Safari. In Firefox 3, it's shrunk (in height).
I just don't know what it could be. I wasn't sure if I should post the entire CSS here, but here's a snippet of it, and if that doesn't help, I've posted a link to it below that!
Code:
#cbody {
clear: right;
margin-left: auto;
margin-right: auto;
width: 949px;
height: 548px;
background-image: URL('../images/bg-content.jpg');
background-color: #000;
}
#cbody #header {
float: right;
margin-right: 4px;
width: 752px;
height: 67px;
}
#cbody #textbody {
clear: right;
float: left;
/* margin-top: 67px; */
width: 949px;
height: 481px;
}
#textbody #logo {
float: left;
width: 197px;
height: 152px;
}
#text-exp h1 {
line-height: 1.15em;
}
#text-exp #text-exp1 {
float: left;
width: 150px;
height: 479px;
}
#text-exp #text-exp2 {
float: right;
margin-left: 10px;
width: 585px;
height: 479px;
text-align: left;
}
And now the HTML:
Code:
<div id="cbody">
<div id="header"><img src="../images/header.png" alt="" /></div>
<div id="textbody" class="textbody-experiences">
<div id="logo"><a href="../index.html"><img src="../images/blnk.gif" width="197" height="152" alt="" /></a></div>
<div id="text-exp">
<div id="text-exp1"><h1>Header Text Here</hl></div>
<div id="text-exp2">
<div id="flashcontent">
<p><strong>Oops!</strong></p>
<p>It looks like you don't have flash player. <a href="long url here" >Click here</a>.</p>
</div>
<script type="text/javascript">
<!-- SWF CODE GOES HERE -->
</script>
</div>
</div>
</div>
</div>
If that doesn't help, you can see how the gallery works when it's NOT in a div (meaning it takes up 100% of the space) here:
Then you can view it as I have it (which again works fine in IE and Safari):