Pages preview fine in DW, but CSS appears to be ignored on live website

This is very basic, but I can't figure it out.  I am the successor webmaster for a very simple 15-page website.   The site has some layout issues that need correcting, and I have rewritten the pages using more of a CSS-based layout since (among other reasons) I don't understand the original tables-based layout.  I used the DW twoColFixedLtHdr.css pre-fab layout.  The re-written pages look fine in the DW and preview fine in Safari and Firefox. The pages did not look right once I uploaded them, so I replaced the pages with the originals.  It appears the stylesheet is being ignored.  I changed the name of the css file to "newstylesheet" to get of the upper-case letters, and have looked over everything closely but can't find the issue.
This is a sample page. http://living4zachary.org/whowearetestpage.html
None of the CSS formatting is there, most notably the left sidebar should have a black blackground and the main text should wrap around it since the sidebar is floated left.
On the host site, all of the html pages are in a sub-directory called public_html. The newstylesheet.css file is a first-level file, right off the main root.
Here is the code, brought forward from a temple, attaching the style-sheet:
  <link href="../newstylesheet.css" rel="stylesheet" type="text/css" />
Here is the code establishing at the beginning of the sidebar:  
<div class="newstylesheet" id="sidebar1"><!-- InstanceBeginEditable name="SidebarLinks" --><a href="index.html">Home</a>
      <p><a href="aboutzac.html">About Zachary</a></p>
      Who We Are</a></p>
      <p><a href="whatissca.html">What Is S.C.A.</a></p>
      <p><a href="#">How You Can Help!</a></p>
      <p><a href="upcomingevents.html">Upcoming Events
      </a>
      <p><a href="oursponsors.html">Our Sponsors</a></p>
      <p><a href="contactus.html">Contact Us</a></p>
      <p> </p> <!-- end #sidebar1 -->
  <!-- InstanceEndEditable --></div>
<!-- end #sidebar1 -->
  <!-- InstanceEndEditable --></div>
  <div id="mainContent"><!-- InstanceBeginEditable name="MainContentArea" -->
I don't think the problem is in this code, since DW is perfectly happy with it.  Somehow, the css is linking up with the page on DW, but not on the server.
This has really got me baffled.  Can somebody please help me?   
Here is a picture of the root directory on the host server, where you can see the newstylesheet.css and the public_html sub-directory that contains all of the live pages and the whowearetestpage:

Ned and Nadia:
Your replies are very appreciated.  They have solved my problem for the test page, and I'm very confident for the other 15 or so pages to follow.
Nadia:  I wish the photo would have attached.  The newstylesheet is there plain as day when I look on the server's file manager.  But, I also couldn't pull it up when I tested it as you did.  There are other css files there that I could access.  They are all on the same file directory - some would open, some wouldn't.  Not only is newestylesheet listed on the server, I can download it and open it up.  This is very strange to me, but a wonderful piece of troubleshooting on your part.  (I have looked a hundred times for some kind of typo, but it just isn't there.)
Ned:  It worked like a charm when I moved the stylesheet to public_htm.   In my DW file directory, I have the css file on the main root and pages in public_htm sub-directory - and that's the same way DW uploaded them to the server.  That's the way the original pages were organized, and that's the way they "appear" to be on the server.  However, since the subject css file was "there but not there", it just wasn't working.
I'm not familiar with how this forum works, but I noticed a "Solved Problem" button.  I'm going to try to click that for both answers.
You guys are great.  I am so grateful for your help.
Steve J.
Plano, TX 

Similar Messages

  • PHP page looks fine by itself, but CSS Divs fall apart on PHP include

    Hi everyone. Thanks for your help in advance, this problem I'm having really has me puzzled.
    The issue I'm having is, I have two php files. body.php with content to be included and index-3.php as the container. When I load body.php by itself in the browser, the layout looks fine.  When I load the index-3.php file that uses the php include function to load body.php through itself, some of the divs in the body.php file come apart.
    I'm old hat at building pages with tables and Iframes, but very new at using divs and php.
    Here are the two files, so you can see for yourselves:
    http://www.hitn.tv/index-3.php (the container)
    http://www.hitn.tv/body.php (the included)
    Is this a CSS issue, or a php issue?
    The index:
    The Body:
                                                                                                                                  Content on this page requires a newer version of Adobe Flash Player.                             
        Temas de interés para la
    comunidad hispana Hoy
    debatiremos un interesante
    asunto que afecta a nuestra
    comunidad
      7/27 - Venezuela en la mira
      por   tráfico de drogas
        7/27 - Venezuela en la mira
        por   tráfico de drogas
          7/27 - Venezuela en la mira
          por   tráfico de drogas
            7/27 - Venezuela en la mira
            por   tráfico de drogas
              7/27 - Venezuela en la mira
              por   tráfico de drogas
                7/27 - Venezuela en la mira
                por   tráfico de drogas
    The Stylesheet:
    @charset "utf-8"; body { background-image: url(images/background.jpg); background-attachment: fixed; background-color: #FFE2BA; background-repeat: repeat-x; text-align: center; } .containerdiv { width: 953px; margin-left: auto; margin-right: auto; } .boxtext { font-size: 11px; color: #000; font-family: Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; line-height: normal; text-align: center; } .rightside { width:762px; height:584px; float: left; overflow: hidden; } .sidebar { } .lowerbar { } #mainsitedivcontainer { width: 762px; } .latestvideos { width: 699px; height: 61px; margin-bottom: 5px; margin-top: 0px; margin-right: 0px; margin-left: 0px; } #leftbookend { float: left; } #rightbookend { float: right; width: 31px; height: 142px; } #videobox { float: left; width: 550px; } #mainsitevideotextblock { float: right; width: 212px; } #mainsitevideotextblock { background-color: #F4F4F4; height: 420px; } .videothumbnaildivframe { height: 61px; width: 82px; overflow: hidden; float: left; } .videotextboxdescription { height: 61px; width: 151px; overflow: hidden; float: right; background-color: #FFF; border-top-width: 0px; border-right-width: 3px; border-bottom-width: 0px; border-left-width: 3px; border-top-style: none; border-right-style: solid; border-bottom-style: none; border-left-style: solid; border-right-color: #D4D4D4; border-left-color: #D4D4D4; text-align: center; } .picdivleft { float: left; height: 61px; width: 233px; } .picdivright { float: right; height: 61px; width: 151px; } .picthenvid { height: 61px; width: 233px; } .centerboxdiv { width: 233px; height: 61px; float: left; } #doubemenucontainer { height: 122px; width: 699px; float: left; } #middlebar { height: 15px; width: 762px; clear: left; } .boxtext { font-size: 11px; color: #000; font-family: Arial, Helvetica, sans-serif; font-weight: normal; font-style: normal; line-height: normal; } #finalvideowrap { height: 142px; width: 762px; background-color: #D4D4D4; overflow: hidden; } 
    Any help at all is much appreciated!
    Thanks so much,
    Evan

    Hi there, and welcome to the forums!
      Could you please provide a screenshot of the website when it is previewed in a browser/live view? This way I can better understand the conflicts that are occuring in your code.
      It is always a good practice when coding a website to preview it in the browser as you code, to make sure there are no conflicts. It's important to remember that in the end, your viewers will be viewing your site in a browser, not in Dreamweaver's preview. : )

  • (Again): The page is setup in "mm" but still appearing in "inch"! why?

    (Again): The page is setup in "mm" but still appearing in “inch”! why?
    I wanted the “preview” part of the “print” dialogue” box to be in “mm” but sounds not to respond to the settings made and still appearing in “inch”! why?
    Why such simple setting is very difficult in the Acrobat?
    Thank you for the help,
    Best
    Jamal

    Thank you for the prompt answer. This is quite helpful. My issue is resolved now.
    Your time and effort are very much appreciated.
    Best
    Jamal

  • Ringtones created, synch'd and preview fine on phone but...

    ... whenever someone calls it just rings with the default Marimba tone. The correct custom tone is selected under Settings and it will preview fine.
    If I set another standard tone (eg. Old Phone) that works fine - but no custom tones!
    (I'm on firmware 2.01).
    Anyone else found this/solved it?

    OK - seem to have fixed this myself with a reset!

  • Crystal layout previews fine in Crystal, but not in SAP.

    Hi,
    I've built a simple report in Crystal based upon the Goods Receipt Header and Goods Receipt Rows Table.
    I've included the DocKey@ paremeter
    I've set the correct select record: {OPDN.DocEntry} = {?DocKey@}
    When I preview the report in Crystal, Crystal asks me to define a DocKey. I select 12 (because I know this has good data in SAP. My report works fine (see below).
    However, I've having difficulty generating the report from SAP. When I preview the report in SAP, it imports the correct DocKey into the layout via the DocKey@ parameter, but, it doesn't actually select any data (see below).
    I've checked the obvious things like ensuring SAP is generating the correct layout.
    Any ideas?

    Hi
    Try to Import the specific layout in SAP Business One then run the layout and also Check the below discussion
    How can Crystal Report get current DocEntry in Sales Quotation?
    With Regards
    Balaji Sampath

  • Preview fine in Safari but WAY OFF in Firefox, Flock, Opera....

    This is really frustrating me because I can't seem to get the pages to look the same in every browser.  I don't have IE (I have a Mac) so I have no idea what it looks like...  Please help if you can. 
    The page is located: http://www.promarevents.com/VA/work.html
    The css is located: http://www.promarevents.com/VA/va1.css
    Here are some screenshots of what is going on:
    Safari, this is how it should look...
    This is Opera.  The image is pushed down and the text runs off the layer.  The same exact thing is happening in Flock and Firefox....
    Flock having the same look.
    I tried changing the code so it looked good in Firefox and Opera, but then Safari was way off...  I received the files from a friend who wants me to make some "minor" changes but this is frying my brain!  Thanks!

    AlieneGirl,
    Not having looked closely into the CSS, it seems that something in the background has an excessive fixed width, and the VA logo with the gradient seems to be centred in it, whereas the box is locked to the right edge.
    If you use a sidebar and change its width, more and more of the VA logo becomes visible as the available width on screen is decreased.

  • Page looks fine in browser, but layout completely messed up in DW

    I created a 2 column page in DW and it looks fine in my
    browser, even at different resolutions and text sizes. However,
    whenever I look at it in DW, the right column drops under the left
    column. It basically looks like a mess, and the person who will be
    adding content will freak out. How can I fix this?

    Never mind. I fixed it.

  • JPG image shows up fine in layout but a section gets cut off a little at the bottom in exported PDF

    I've got a JPG inserted at the top of the page and there are text boxes below it.  In the layout everything looks fine, nothing is overlapping or getting cut off.  But when I export the image (best quality) as a PDF, a few of the letters in the JPG look cut off at the bottom.  The image looks like it's aligned straight so I'm not sure why it's only showing some of the letters in the middle section look like the bottoms have been chopped.  Any ideas what the problem is and how to fix it?  Thanks!

    urghhh not working still. all of my child folders are in the root folder...sorry for the confusion. the only files in the Template folder are the parent templates. i really don't know what's causing this. i've checked my css file..it's properly linked to the main templates. everything appears perfectly in FF so i'm assuming that if it were a general prob, the pages shouldn't have shown in FF at all. the index pages previews fine in IE and the old pages do as well, except for a few distortions bc i've changed the css rules. but now i also realize that the html file from which created the template isn't showing in IE as well but only in FF so the prob might have started from there but why?? i've checked everything...at least so i think.

  • Bex iview previews fine in content adm, displays wrong template from role

    Hi All,
    I have created a Bex iview which is delta linked onto a page.  The page previews fine from the content admin but when it is displayed from the role, it displays a standard generic template, not the report that i expect.
    Also, I have noticed that it will display fine when the iview is assigned directly to the role, rather than assigned to a page which in turn is assigned to the role.  I need the report to display correctly from a page, as I need it to be displayed along with another iview.
    It should be noted that it displays fine in our DEV and QAS systems.
    Anyone any ideas as to what may be the cause of this?
    Thanks in advance,
    Liz.
    Edited by: Liz O'Leary on Feb 15, 2012 5:43 PM

    Hi,
    Please check the below link it might help
    http://help.sap.com/saphelp_nw70/helpdata/EN/33/39fa40ee14f26fe10000000a1550b0/content.htm
    Are you using correct template while creating the iView.
    Regards,
    Srinivas
    Edited by: Nivas209 on Feb 16, 2012 8:35 AM

  • Page displays perfect in Safari, but not Internet Explorer...please help!

    Please help, this page looks fine in Safari, but in IE, the 2nd and 3rd column are spread out. I want everything to stay to the top;
    http://www.fuels4less.com/WORKING_INDEX_HELP3.htm
    Thank you in advance!

    HTML errors can cause all kinds of problems between browsers/versions/platforms.
    Visit http://validator.w3.org to get a listing of your errors (54 errors 3 warnings)
    If it's still not displaying correctly once your errors are cleaned out, post back and we can take a closer look.

  • Site fine in Safari, but not in Firefox

    so I made a simple photo page in iWeb. the page works fine in safari, but I actually get a 404, page not found error when I look at it in Firefox.
    now the even weirder thing is I get this error on my macbook pro, but it works just fine in firefox on my powermac G5. I've also come across a pc user who can't see it properly in firefox, while other pc users can...
    very confused, thoughts?

    if you are tying the address in make sure the W in iWeb is a capital.
    other than that you might supply the address so someone can attempt to view it.
    sounds like an addressing problem though
    good luck

  • My site previews fine in live, explorer and firefox, but the fonts are extra large and bold on chrome, this is my first site, please assist. I will be happy to provide screenshots and code or css  sheets.

    Working on my first site, Am getting different previews. Chrome tends to make the font big and bold while all other browsers work fine. Here is what the preview looks like in chrome followed by the firefox preview. I have my CSS and HTML code sheets below. Am also having a hard time centering the navigation links, they are a little closer to top of the navigation div than the bottom. Any assistance will be appreciated. Please feel free to point any other errors, am sure there is some in there.
    @charset "utf-8";
    body {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
      margin-left: 0px;
      color: 151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: EFF5F8;
    #banner {
    #wrapper {
      background-color: rgba(255,255,255,1.00);
      width: 100%;
      min-width: 740px;
      max-width: 1024px;
      margin-left: auto;
      margin-right: auto;
    #sidebar img {
      max-width: 100%;
    #wrapper #banner img {
      max-width: 100%;
    h1, h2 {
      color: #3399CC;
      font-family: source-sans-pro;
      font-style: normal;
      font-weight: 600;
    h1 {
      font-size: 40px;
      text-align: center;
      margin-top: 0px;
      margin-bottom: 0px;
    #hero {
      float: left;
      width: 58%;
      margin-left: 2%;
    #sidebar {
      width: 34%;
      margin-left: 4%;
      float: left;
    #footer {
      float: left;
      clear: left;
      padding-left: 2%;
      background-color: #43A6CB;
      color: #FFFFFF;
      text-align: center;
      width: 100%;
    a {
      text-decoration: none;
      font-weight: bold;
    a:link {
      color: #FF6600;
    a:visited {
      color: #FF6600;
    a:hover, a:active, a:active {
      color: #7F3300;
      text-decoration: underline;
    #navigation ul {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
      margin-left: 0px;
      padding-top: 10pm;
      padding-right: 5px;
      padding-bottom: 10px;
      padding-left: 5px;
      text-align: center;
      color: rgba(51,153,204,1.00);
    #navigation {
      background-color: #4D4D4D;
      color: #FFFFFF;
      text-transform: uppercase;
    #navigation li {
      display: inline;
      padding-top: 15px;
      padding-right: 15px;
      padding-bottom: 15px;
      padding-left: 15px;
      margin-top: 10pm;
      margin-right: 10pm;
      margin-bottom: 10pm;
      margin-left: 10pm;
      clear: none;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      text-align: center;
      color: rgba(194,209,221,1.00);
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
    Here is the code:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>4gals Computer Service Home</title>
    <link href="main.css" rel="stylesheet" type="text/css">
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/source-sans-pro:n2,n6:default.js" type="text/javascript"></script>
    </head>
    <body>
    <div id="wrapper">
      <div id="banner"><img src="Images/banners/4gals banner.jpg" alt=""/></div>
      <div id="navigation">
        <ul>
          <li><a href="index.html" title="4gals Computer Services Main Page" target="_self">Main</a></li>
          <li><a href="contact.html" title="4gals Computer Services Contact Page" target="_self">Contact</a></li>
          <li><a href="appointments.html" title="4gals Computer Services, Service Request Form" target="_self">Service</a></li>
          <li><a href="helpful-tips.html" title="4gals Computer Services Helpful tips" target="_self">Tips</a></li>
          <li><a href="meet-the-gals.html" title="Meet Our Daughters; The 4gals" target="_self">4gals</a></li>
        </ul>
      </div>
      <div id="hero">
        <h1>Computer Service For Families and Small Businesses</h1>
        <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
        <h2> </h2>
      </div>
      <div id="sidebar">
        <h2>Call us for today for same-day service!</h2>
        <p><img src="Images/iphone-5_03.jpg" alt=""/></p>
        <p>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p>
      </div>
      <div id="footer">Copyright 2014 &copy; Web design by a-loum</div>
    </div>
    </div>
    <p> </p>
    <h1> </h1>
    <p> </p>
    <p> </p>
    <p> </p>
    </body>
    </html>

    Starting with this, you have errors in your CSS code.
    body {
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
      margin-left: 0px;
      color: 151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: EFF5F8;
    body {
      margin:0;
      color: #151515;
      font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
      background-color: #EFF5F8;
      font-size: 100%;
    Related links:
    Windows Chrome, why do my fonts look so bad? - Lee Green
    css3 - Bad font rendering Chrome - Stack Overflow
    Nancy O.

  • Pages looks fine but prints blank

    Using Pages in page layout mode, starting with a blank template, portrait 8.5 x 11.
    The composed page looks fine on the screen but shows up completely blank on the printer. Tried PDF, Preview etc. all blank. The content even shows blank in the printer dialog. I'm baffled.

    Duh! I have (embarassingly) solved my problem!
    Somehow I had left the option "even Pages only" turned on and as there was only a single page I was printing a null set. Unfortunately the print dialog says something like 'using latest settings' and doesn't list them so it took me a while to realize the error. I've only been using a Mac since 1985 after all!

  • I am trying to download and install itunes on windows 7.  The download works fine and it appears that the install works fine as well but when it finishes itunes is nowhere to be found. I am in Mexico. Please help.  Thanks

    I am trying to download and install itunes on windows 7.  The download works fine and it appears that the install works fine as well but when it finishes itunes is nowhere to be found. I am in Mexico. Please help.  Thanks

    You can try using this tool to first remove all traces of Reader from your computer:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you can download the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • Html5 previews fine but doesn't open online

    My project previews fine in html5 and plays locally in all browsers, but won't open online in any browser. I just get a dark screen. The flash version works online. Any ideas why  the html 5 would play locally but not on the web?

    A bit puzzled. What are you using Dreamweaver here for?
    Other than that, since you are using the latest version of browsers, I don't see any issues here. Perhaps, just clearing the browser cache might help.
    Sreekanth

Maybe you are looking for

  • Error : usdsop cannot create a new process

    Hi DBA's, I am applying ADI.6 patch 6502082. It was error out with the follwing error message. Kindly check and give me your valuable solution. ** Backing up $JAVATOP/META-INF/JRIMETA.DAT... Copying JRIMETA.DAT to JRIMETA.DAT.BackedupByAdpatch ... Co

  • 2010 Macbook air won't turn on?

    I have reset the nvram/pram and the smc? what should I do. The computer doesn't respond to the power button when pressed.

  • Remote control plays wrong track!?

    hi, i have set up a DVD with four buttons playing 4 tracks, each of which has 1 chapter (or clip) and returns to the menu after playing. after i've burned the DVD and placed it into the DVD player, pressing the numbers 1 through 4 however causes the

  • ARE 1 DOCUMENT ERROR

    Dear Guru's, I am creating ARE 1 document. I am getting error as, Maintain number range object for object J_1IARE1, year , excise group. I have maintained number range for the same object and saved. Whe I am maintaing number range the option is for s

  • I want to transfer data

    i want t transfer data from one notebook to the next how do i do that?