Skip navigation
Currently Being Moderated

WEBSITE PAGE NOT SHOWING UP IN IE9..ONLY THE BACKGROUND SHOWS UP..

Aug 26, 2012 7:12 PM

IN FIREFOX AND IE9, I'VE BEEN CREATING THIS SITE. HTML5. NOW, HERE I AM ALMOST DONE WITH THE SITE AND WHEN I DO THE MEDIA PAGE..... IT SEEMS TO ONLY SHOW THE BACKGROUND IN IE9..EVEN AFTER I DELETED IT.. THAT SPECIFIC PAGE (videos.html) IS ONLY DISPLAYING THE BACKGROUND. EACH PAGE I DO, I'VE TESTED THEM IN BOTH BROWSWERS..... KEEPING EVERYTHING THE SAME EXCEPT FOR THE CONTENT WITHIN THE ARTICLE....

 

Here's the Code initially, I'm sure there are erros obviously so guys just help me and don't be rude, if you will. I appreciate it greatly.

 

HERE'S WHAT IT LOOKS LIKE IN FIREFOX:

 

firefox.jpg

 

HERE'S WHAT IT LOOKS LIKE IN IE9:

 

explorer9.jpg

 

HERE'S THE CODE:

 

(IT'S NEAT IN DREAMWEAVER) BUT... I JUST COPIED AND PASTED IT ONTO HERE.

 

<!DOCTYPE HTML>

<html>

<head>

<meta charset="UTF-8">

<meta content="DahJ" name="author">

<meta content="DahJ, Derek, Alton Hill, Dahari, financial freedom, Designer DahJ, Mogul DahJ, Dahari Fashions, university, ministries, Salem, Dahj University, chancellor, business, success, successful, North Las Vegas, Derek, , Coach, mentor, Philanthropist, Best-Selling Author, Author, life-coach, life, " name="keywords">

<meta content="DAHJ videos, photos, and blog: Official Website" name="description">

<title>Media - DAHJ videos, photos, and blog: Official Website</title>

 

<style type="text/css">

<!--

body {

    margin: 0;

    padding: 0;

    color: #000;

    background:url(Images/websitebackgroundhomee.jpg) repeat scroll 0 0;

    font-family: David;

    font-size: 15px;

    height:100%;

}

 

/* ~~ Element/tag selectors ~~ */

ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */

    padding: 0;

    margin: 0;

}

h2, h4, h5, h6, p {

    margin-top: 0;

    padding-left: 15px; /* adding the padding to the sides of the elements within the blocks, instead of the block elements themselves, gets rid of any box model math. A nested block with side padding can also be used as an alternate method. */

    font-family: David;

}

a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */

    border: none;

}

/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */

a:link {

    color: #42413C;

    text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */

}

a:visited {

    text-decoration: underline;

}

a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */

    text-decoration: none;

}

/* ~~ This fixed width container surrounds all other blocks ~~ */

.container {

    width: 960px;

    margin: 0 auto;

    border-radius: 5px;

    -moz-border-radius: 5px;

    -moz-box-shadow: 0 5px 3px 3px #7d7f7e;

    -webkit-box-shadow: 0 5px 3px 5px #7d7f7e;

    box-shadow: 0 5px 3px 3px #999;

    background-image: url(Images/contentbckgrnds/videocontent.jpg);

}

/* ~~ The header is not given a width. It will extend the full width of your layout. ~~ */

header {

    height: 520px;

    width: 960px;

    background-position: center;

    background-color: #000;

}

h1 {

    font-family:Century Gothic;

    padding-left:11px;

    font-weight:lighter;

}

h1 a:hover {

    color:#09F;

}

/* ~~ These are the columns for the layout. ~~

 

1) Padding is only placed on the top and/or bottom of the block elements. The elements within these blocks have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the block itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the block element and place a second block element within it with no width and the padding necessary for your design.

 

2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a block set to float right). Many times, padding can be used instead. For blocks where this rule must be broken, you should add a "display:inline" declaration to the block element's rule to tame a bug where some versions of Internet Explorer double the margin.

 

3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar blocks could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.

 

4) If you prefer your nav on the left instead of the right, simply float these columns the opposite direction (all left instead of all right) and they'll render in reverse order. There's no need to move the blocks around in the HTML source.

 

*/

.sidebar1 {

    float: right;

    width: 300px;

    background: #fff;

    padding-bottom: 10px;

}

.content {

    padding: 0px 0;

    width: 960px;

    float: right;

    background-color: #FFF;

}

 

/* ~~ This grouped selector gives the lists in the .content area space ~~ */

.content ul, .content ol {

    padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */

}

 

/* ~~ The footer ~~ */

footer {

    padding: 10px 0;

    position: relative;/* this gives IE6 hasLayout to properly clear */

    clear: both; /* this clear property forces the .container to understand where the columns end and contain them */

    background-color: #CCC;

    background-image: url(Images/footer2.jpg);

}

 

/*HTML 5 support - Sets new HTML 5 tags to display:block so browsers know how to render the tags properly. */

header, section, footer, aside, nav, article, figure {

    display: block;

}

aside {

}

.homebutton{

    background: no-repeat scroll 0 0 transparent;

    height:65px;

    left:-1.2em;

    position:relative;

    top:-3.4em;

    width:172px;

    z-index:20;

}

h3 {

    font:"Palatino Linotype", "Book Antiqua", Palatino, serif;

    font-size:small;

    padding-left:15px;

}

/*   THIS IS MY FOOTER'S FONT AND TEXT   */

address {

    font-style:Century Gothic;

    color:#FFFFFF;

    text-decoration:none;

    text-align:center;

    font-style:normal;

}

address a:link {

    color:#0CF;

}

address a:link, a:hover {

    color:#33CC33;

}

/*   THIS IS MY SOCIAL MEDIA LINKS, TITLES, AND COUNTS..... FACEBOOK, TWITTER, YOUTUBE   */

#socialmedia {

    list-style:none outside  none;

    display:block;

    margin:15px 145px 0px;

    position:relative;

}

.twitter {

    display:inline;

    margin-left:135px;

}

.facebook {

    display:inline;

}

.youtube {

    display:inline;

    margin-left:135px;

}

#socialmediatitles {

    list-style:none outside none;

    display:block;

    margin:15px 190px 5px;

    position:relative;

    font-family:Century Gothic;

    font-size:22px;

    color:#ffffff;

    width:800px;

}

.twitterfollowers {

    display:inline;

    margin-left:160px;

    color:#ffffff;

}

.twitterfollowers a:link {

    color:#ffffff;

}

.facebookfans a:link {

    color:#ffffff;

}

.youtubesubs a:link {

    color:#ffffff;

}

.facebookfans {

    color:#ffffff;

    display:inline;

}

.youtubesubs {

    display:inline;

    margin-left:135px;

    color:#ffffff;

}

#socialmedianumbers {

    list-style:none outside none;

    display:block;

    margin:15px 185px 5px;

    position:relative;

    font-family:Century Gothic;

    font-size:30px;

    color:#ffffff;

    width:800px;

}

.twittercount {

    display:inline;

    margin-left:150px;

    color:#ffffff;

}

.twittercount a:link {

    color:#ffffff;

}

.facebookcount a:link {

    color:#ffffff;

}

.youtubecount a:link {

    color:#ffffff;

}

.facebookcount {

    color:#ffffff;

    display:inline;

}

.youtubecount {

    display:inline;

    margin-left:135px;

    color:#ffffff;

}

 

div#voverlay {

    background:#FFF;

    display:none;

    height:480px;

    padding:35px;

    width:640px;

}

div#voverlay .close {{

    cursor:pointer;

    height:35px;

    position:absolute;

    right:5px;

    top:5px;

    width:35px;

    background:#999;

    }

div#vcontainer {

    background: url("loading.gif") no-repeat scroll 50% 50% transparent;

    height:100%;

    left:0;

    top:0;

    width:100%;

}

.videogallery {

    width:871px;

}

.videogallery a {

    color:#333333;

    display:inline-block;

    font:12px/18px "Centurty Gothic";

    margin:3px;

    opacity:0.87;

    position:relative;

    text-align:center;

    text-decoration:none;

    veritcal-align: top;

    width:240px;

}

.videogallery a img {

    border:medium none;

    display:block;

    margin:0;

}

.videogallery span {

    display:block;

}

.videogallery a.videolb {

    display:none;

}

 

</style>

<style media="screen,print,projection" type="text/css">

#mediaxmedia{ height:823px; border:none;}

</style>

<!--[if lt IE 9]>

<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">

</script>

<![endif]-->

<link href="CSS/dropDown3.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" href="CSS/videolightbox.css" type="text/css" />

<link rel="stylesheet" type="text/css" href="media_videolb/overlay-minimal.css"/>

<script src="js/jquery.js" type="text/javascript"></script>

<script src="js/swfobject.js" type="text/javascript"></script>

</head>

 

<body>

 

<div class="container">

  <header></header>

  <!----START OF NAVIGATION MENU---->

<div id="navMenu">

                    <ul>

                      <li></li>

                    </ul> <!-- end inner UL -->

 

 

                    <ul>

                      <li><a href="http://www.dahj.com/recent-activity">ACTIVITY</a></li>

                    </ul> <!-- end inner UL -->

 

                    <ul>

                      <li><a href="http://www.dahj.com/latest-news">NEWS</a></li>

                    </ul> <!-- end inner UL -->

 

                    <ul>

                      <li><a href="http://www.dahj.com/photogallery">MEDIA</a>

    </ul> <!-- end inner UL -->

 

 

                    <ul>

                      <li><a href="http://www.dahj.com/coaching">COACHING</a></li>

                    </ul> <!-- end main UL -->

 

                    <ul>

                      <li><a href="http://www.dahj.com/shop">SHOP</a></li>

                    </ul> <!-- end inner UL -->

 

                    <ul>

                      <li><a href="http://www.dahj.com/about">ABOUT</a></li>

                    </ul> <!-- end inner UL -->

 

                    <p><br class="ClearFloat" />

                    </p>

  </div>

  <!-- end navMenu -->

<!--------START OF DAHJ HOME ICON------->

          <div class="homebutton">

            <a href="http://www.dahj.com"><img src="Images/websiteicons/bg_logo_new_0.png" width="172" height="61"></a>

        </div>

<!-- END OF DAHJ HOME ICON BUTTON ------>

 

<article class="content">

<br>

<!--------VIDEO CONTENT BEGINS HERE--------->

<div id="voverlay">

    <a class="close"></a>

        <div id="vcontainer"></div>

</div>

<center>

<!-- Start VideoLightBox.com BODY section -->

    <div class="videogallery">

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=39862994&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="Hearing His Voice"><img src="Images/video thumbs/0.png" alt="Hearing His Voice" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=39862218&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="The Trust Fund from ManPower 2010"><img src="Images/video thumbs/1.png" alt="The Trust Fund from ManPower 2010" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=39861243&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="What He Put In You Then Will Work For You Now"><img src="Images/video thumbs/2.png" alt="What He Put In You Then Will Work For You Now" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=39031081&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="The Word 101 - Back to the Basics"><img src="Images/video thumbs/3.png" alt="The Word 101 - Back to the Basics" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=36932142&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="Tough Love - Pastor Sheryl Brady"><img src="Images/video thumbs/4.png" alt="Tough Love - Pastor Sheryl Brady" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=35261687&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="Just Calm Down - Pastor Sheryl Brady"><img src="Images/video thumbs/5.png" alt="Just Calm Down - Pastor Sheryl Brady" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=28674599&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="How to Seduce Proof Your Life"><img src="Images/video thumbs/6.png" alt="How to Seduce Proof Your Life" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=36249630&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="iHeart TPHND - Part 1"><img src="Images/video thumbs/7.png" alt="iHeart TPHND - Part 1" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=36666455&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="iHeart The Potter's House North Dallas - Part 2"><img src="Images/video thumbs/8.png" alt="iHeart The Potter's House North Dallas - Part 2" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=37080493&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="iHeart The Potter's House North Dallas - Part 3"><img src="Images/video thumbs/9.png" alt="iHeart The Potter's House North Dallas - Part 3" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=37535503&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="iHeart TPHND - Part 4"><img src="Images/video thumbs/10.png" alt="iHeart TPHND - Part 4" /><span></span></a>

        <a class="voverlay" href="http://vimeo.com/moogaloop.swf?clip_id=22007961&server=vimeo.com&show_ title=1&show_byline=1&autoplay=1" title="My grandson Jaden playing the drums"><img src="Images/video thumbs/11.png" alt="My grandson Jaden playing the drums" /><span></span></a>

</div>

<script src="js/jquery.tools.min.js" type="text/javascript"></script>

<script src="js/videolightbox.js" type="text/javascript"></script>

<!-- End VideoLightBox.com BODY section -->

</center>

<br>

</article>

<!----------------VIDEO CONTENT ENDS HERE------------------>

    <!-----------------NUMBERS BOTTOM ------------>

 

   <!-----------------END NUMBERS BOTTOM---------->

  <!-- end .content -->

  <footer>

  <br>

  <br>

 

  <!-----------START SOCIAL MEDIA ICONS---------->

<div id="socialmedia">

    <div class="facebook">

        <a href="http://facebook.com/dahj"><img src="Images/websiteicons/icontexto-inside-facebook.png"></a>

    </div>

    <div class="twitter">

        <a href="http://twitter.com/officialdahj"><img src="Images/websiteicons/icontexto-inside-twitter.png"></a>

    </div>

    <div class="youtube">

        <a href="http://youtube.com/dahj"><img src="Images/websiteicons/icontexto-inside-youtube.png"></a>

    </div>

</div>

<!-------------END SOCIAL MEDIA ICONS------>

<!-------------START OF SOCIAL MEDIA TITLES------------>

<div id="socialmediatitles">

    <div class="facebookfans">

        <a href="http://facebook.com/dahj">FANS</a>

    </div>

    <div class="twitterfollowers">

        <a href="http://twitter.com/officialdahj">FOLLOWERS</a>

    </div>

    <div class="youtubesubs">

        <a href="http://youtube.com/dahj">SUBSCRIBERS</a>

    </div>

</div>

<!------------END OF SOCIAL MEDIA TITLES---------------->

    <address>

    <br>

    <br>

    ©2012 Copyright | <a href="http://dahj.com/privacy-policy">Privacy Policy/Your Privacy Rights</a> | <a href="http://dahj.com/terms-of-use">Terms of Use</a> | <a href="http://dahj.com/contact-information">Contact US</a> | <a href="http://dahj.com/feedback">Feedback</a>

    </address>

 

 

</footer>

<!-- end .container -->

</div>

</body>

</html>

 
Replies
  • Currently Being Moderated
    Aug 26, 2012 7:24 PM   in reply to Dhillie

    Can you upload it to the web somewhere and post a link so we can view it in our browsers?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 26, 2012 8:31 PM   in reply to Dhillie

    Most people have access to webspace somewhere on the web and upload to, say, a temporary folder for troubleshooting like this.

     

    Presumably your website will be on the web somewhere eventually?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2012 9:15 AM   in reply to Dhillie

    I am not sure what's happening with IE9 (no live site) but I had real problems viewing your code in Live View - until I removed the HTML comment marked below. Basically your site was viewable in Design View but as soon a I hit Live view, it disappeared - much like IE9. See if removing the comment solves your issue.

     

    <style type="text/css">

    <!-- /*Remove this */

    body {

        margin: 0;

        padding: 0;

        color: #000;

        background:url(Images/websitebackgroundhomee.jpg) repeat scroll 0 0;

        font-family: David;

        font-size: 15px;

        height:100%;

    }

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2012 9:36 AM   in reply to Rik Ramsay

    Clearly, that unpaired HTML comment is a problem - browsers will think that the entire page is a comment and you will have a blank display.  Removing it should fix your Live view - I think that's what Rik is saying....

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 27, 2012 9:45 AM   in reply to Dhillie

    When things don't render properly in X-browsers, 98% of the time it's due to code errors.  If this happens in the future, use the W3C validation tools to identify errors in your code that need fixing.

     

    CSS - http://jigsaw.w3.org/css-validator/

    HTML - http://validator.w3.org/

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points