/    Sign up×
Community /Pin to ProfileBookmark

can’t figure out why div collapsed and JS won’t display, please help!

Yesterday this page looked fine and today it’s not 😡 ([url]http://iphonebuy-host1.gaiahost.net/index.html[/url]) Clearly I must’ve inadvertently deleted or changed something but I can’t figure out what!

There is a form embedded in #reviews-code using JavaScript, but it is suddenly not displaying. Also #reviews is not expanding to fit its contents any longer. CSS is below:

#reviews {
background:#F2F2F2;
width:57em;
height:100%;
margin:-1.5em 0 2em 0;
padding:1em 1.5em 1em 1.5em;
border-radius:1.5em;
-moz-box-shadow: 0 2px 2px 2px #ccc;
-webkit-box-shadow: 0 2px 2px 2px #ccc;
box-shadow: 0 2px 2px 2px #ccc;
}

/** Reviews text box **/
#reviews-text {
background:#fff;
width:14.8em;
padding:.5em .8em;
border-radius:1em;
float:left;
-moz-box-shadow: 0 2px 2px 1px #ccc;
-webkit-box-shadow: 0 2px 2px 1px #ccc;
box-shadow: 0 2px 2px 1px #ccc;
}

/** container for embedded ReVu window **/

#reviews-code {
margin:0 0 .5em 17.8em;
padding:.5em;
width:38em;
background:#fff;
border-radius:1em;
-moz-box-shadow: 0 2px 2px 1px #ccc;
-webkit-box-shadow: 0 2px 2px 1px #ccc;
box-shadow: 0 2px 2px 1px #ccc;
}

And HTML/JavaScript:

<div id=”reviews”>
<h2>Reviews</h2>
<div id=”reviews-text”>
<p>To prove our trustworthiness, check out our customer reviews. Comments
here can not be deleted – you are getting the unedited truth from our past customers!
We have no fear of anything our customers have to say, as we will do whatever it
takes to make you happy. Be assured that you will get only honesty and fairness
from us. So, please leave your honest comments.</p>
<p>Questions? Email us at: <br />[email protected].</p>
</div>
<div id=”reviews-code”>
<script type=”text/javascript”>
var revsysJsHost = ((“https:” == document.location.protocol) ? “https://ssl.” : “http://www.”);
document.write(unescape(“%3Cscript src='” + revsysJsHost + “re-vu.com/reviewsystem/embed_code.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
try{
var revsys_shortname = ‘appleiphonebuyers’;
var revsys_identifier = ‘unique_dynamic_id_1234’;
var revu_width= ‘600’;
show_review();
} catch(err) {}
</script>
</div>
</div>

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@spacebettyauthorMay 07.2013 — Also, both CSS and HTML check out as valid.
×

Success!

Help @spacebetty spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...