Skip navigation
Currently Being Moderated

Page that is uploaded to the server looks different from the preview in Dreamweaver browser

Jul 31, 2012 9:13 PM

Tags: #background #color #div

Hi, I have a couple of questions.  Does anyone happen to know why my homepage looks different in Dreamweaver when I preview in browser then it does when I upload the page onto the server?  I see a join our mailing list button is intact when I preview in browser but is no where to be found when I view the uploaded page from the server.  Other weird things have been going on with Dreamweaver today like I wasn't able to absolute position a div tag in it's intended place and all the typography on my homepage looks very blurry in Dreamweaver but looks clearer when it's uploaded to the server.  Does anyone know what's going on?  Any help would be greatly appreciated.  .... Could it be a virus?

  • Currently Being Moderated
    Jul 31, 2012 9:16 PM   in reply to Ivy54

    I tried to fill in the background color for that div tag but the color is different from the other grey areas even though it's the same 6 digit hex


    What hex code did you use?  Can't see anything added.  I suggest use color: #EEEEEE to match the rest of the colors on the page.



    The other thing is that there's a line next to the Waterkeeper on Facebook sign and I'm also not sure how to fill in that gap either.


    It is an image as far as I can see:  The image is this:




    If this not so then point exactly what do you mean by " line next to the waterkeeper facebook sign"

    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 8:31 AM   in reply to Ivy54

    You don't have a class called 'facebookmailinglist' in your css file its called 'mailinglist'


    So you need to amend this:


    <div class="facebookmailinglist">


    to this:


    <div class="mailinglist">

    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 8:16 AM   in reply to Ivy54

    Validate your code and fix the important errors (non-FaceBook ones.)

    You're missing a closing </div> tag for container.



    Nancy O.

    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 1:21 PM   in reply to Ivy54

    That is telling you that the referenced div tag has no closing div tag associated with it, e.g.,


    instead of this - <div>whatever</div>, you have just this - <div>whatever


    Every opening div tag must have a corresponding closing tag, as do most other HTML tags.

    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 1:38 PM   in reply to Ivy54

    The error message you showed is looking for a closing </div> - just as it says in the error message.  I'm not sure where your notion of it being the body tag came from....


    OH  - I see how you got that idea.  But it's a div closing that is needed.

    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 2:51 PM   in reply to Ivy54

    Make a backup of your original page.  Then try this HTML -


    <!doctype html>



    <meta charset="utf-8">

    <title>Inland Empire Waterkeeper</title>

    <link href="_css/styles.css" rel="stylesheet" type="text/css">

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

    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">

    <style type="text/css">

    body,td,th {

        color: #999999;

        font-family: Verdana, Geneva, sans-serif;


    body {

        background-color: #FFFFFF;

        color: #D6D6D6;

        background-image: url(_images/background_1255hompage.png);

        background-repeat: repeat-x;

        margin: auto;

        margin-left: 0px;

        margin-top: 0px;

        margin-right: 0px;

        margin-bottom: 0px;







    <div id="fb-root"></div>

    <script>(function(d, s, id) {

      var js, fjs = d.getElementsByTagName(s)[0];

      if (d.getElementById(id)) return;

      js = d.createElement(s); = id;

      js.src = "//";

      fjs.parentNode.insertBefore(js, fjs);

    }(document, 'script', 'facebook-jssdk'));</script>



    <div class="container">

      <div class="header"><img src="_images/banner1.jpg" alt="Inland Empire Waterkeeper" width="933" height="300"></div>

      <div class="menubar">

        <ul id="MenuBar1" class="MenuBarHorizontal">

          <li><a href="index.html" class="MenuBarItemSubmenu">Home</a>


              <li><a href="mission.html" class="MenuBarItemSubmenu">About Us</a>


                  <li><a href="mission.html">Our Mission</a></li>

                  <li><a href="history.html">Our History</a></li>

                  <li><a href="community.html">Our Community</a></li>



              <li><a href="staff.html" class="MenuBarItemSubmenu">Our Team</a>


                  <li><a href="staff.html">Staff</a></li>

                  <li><a href="supporters.html">Supporters</a></li>

                  <li><a href="advisoryboard.html">Advisory Board</a></li>



              <li><a href="coastkeeper.html">Coastkeeper</a></li>



          <li><a href="projects.html" class="MenuBarItemSubmenu">What We Do</a>


              <li><a href="advocacy.html" class="MenuBarItemSubmenu">Programs</a>


                  <li><a href="advocacy.html">Advocacy</a></li>

                  <li><a href="education.html">Education</a></li>

                  <li><a href="research.html">Research</a></li>

                  <li><a href="restoration.html">Restoration</a></li>

                  <li><a href="enforcement.html">Enforcement</a></li>



              <li><a href="projects.html">Projects</a></li>

              <li><a href="datareports.html">Data &amp; Reports</a></li>



          <li><a href="volunteer.html" class="MenuBarItemSubmenu">Get Involved</a>


              <li><a href="volunteer.html">Volunteer</a></li>

              <li><a href="employment.html">Employment</a></li>

              <li><a href="events.html">Events &amp; Meetings</a></li>

              <li><a href="donate.html">Donate</a></li>



          <li><a href="pressreleases.html" class="MenuBarItemSubmenu">News Room</a>


              <li><a href="pressrelease.html">In the News and Press Releases</a></li>

              <li><a href="legislation.html">Legislative Updates</a></li>

              <li><a href="waternews.html">Water in the News</a></li>



          <li><a href="reportpollution.html" class="MenuBarItemSubmenu">Resources</a>


              <li><a href="watershed.html" class="MenuBarItemSubmenu">Information</a>


                  <li><a href="watershed.html">Our Watershed</a></li>

                  <li><a href="reportpollution.html">Report Pollution</a></li>



              <li><a href="photos.html">Photo Gallery</a></li>



          <li><a href="contact.html">Contact Us</a></li>




        <div class="missionstatement"><img src="_images/mssionstatement.gif" alt="Inland Empire Waterkeeper" width="933" height="110"></div>


    <div class="space1"><img src="_images/bar_left.png" alt="Inland Empire Waterkeeper" width="20" height="315"></div>

    <div class="facebook">

          <div class="facebooktop">

          <img src="_images/facebooktop.gif" width="106" height="125" alt="Inland Empire Waterkeeper"></div>




        <div class="facebookmailinglist">


        <div class="fb-like" data-href="" data-send="true" data-width="106" data-show-faces="false"></div>

    <!-- BEGIN: Constant Contact Standard Email List Button -->

    <div align="center">

    <table border="0" cellpadding="0" cellspacing="0">


    <td><img src="" width="6" height="6" alt=""></td>

    <td style="background-image:url( .gif)"> </td>

    <td><img src="" width="6" height="6" alt=""></td>



    <td background=" y.gif"></td>

    <td bgcolor="#cccccc"><a href=" 488694422" target="_blank" style="text-decoration:none; font-weight: bold;  font-family:Arial; font-size:10px; color:#336666;">Join Our Email List</a></td>

    <td background=" ay.gif"></td>



    <td><img src="" width="6" height="6" alt=""></td>

    <td background=" ray.gif"> </td>

    <td><img src="" width="6" height="6" alt=""></td>




    <!-- END: Constant Contact Standard Email List Button -->



        <div class="space2"><img src="_images/bar_right.png" width="21" height="315" alt="Inland Empire Waterkeeper"></div>


       <div class="video"><iframe width="560" height="315" src="" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>




        <div class="space3"></div>


        <div class="photospace1"></div>

        <div class="photo1"><a href="_images/kayaking_6lg.png"><img src="_images/kayaking_6.jpg" alt="Inland Empire Waterkeeper" width="176" height="95"></a></div>

        <div class="photospace2"></div>

        <div class="photo2"><a href="_images/riverkat_57lg.png"><img src="_images/riverkat_57.jpg" width="176" height="95" alt="Inland Empire Waterkeeper"></a></div>

        <div class="photospace3"></div>

        <div class="photo3"><a href="_images/riverkat_172lg.png"><img src="_images/riverkat_172.jpg" width="176" height="95" alt="Inland Empire Waterkeeper"></a></div>

        <div class="photospace4"></div>


        <div class="space4"></div>




      <div class="pillars"><img src="_images/pillars_grey.jpg" alt="Inland Empire Waterkeeper Pillars" width="933" height="400" border="0" usemap="#Map">

        <map name="Map" id="Map">

          <area shape="rect" coords="77,54,297,198" href="advocacy.html" alt="Inland Empire Waterkeeper Advocacy">

          <area shape="rect" coords="361,51,584,195" href="education.html" alt="Inland Empire Waterkeeper Education">

          <area shape="rect" coords="636,54,858,196" href="research.html" alt="Inland Empire Waterkeeper Research">

          <area shape="rect" coords="212,220,430,352" href="restoration.html" alt="Inland Empire Waterkeeper Restoration">

          <area shape="rect" coords="502,222,726,364" href="enforcement.html" alt="Inland Empire Waterkeeper Enforcement">






      <div class="footer"><img src="_images/footer2.png" width="933" height="100" alt="Inland Empire Waterkeeper"></div>



    <script type="text/javascript">

    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});





    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