Skip navigation
Currently Being Moderated

Split or Design view corrupt in DWCS6

Sep 21, 2012 7:09 AM

All of a sudden a php page just containg html and js has white areas in a lot of div areas and the images and code that should be in those divs has moved off the page to the right hand side, i have to horizontally scroll to see this.

If i open the file from Windows Explorer it displays fine and it is fine up on the website when viewed in browser. I even downloaded all files form server to replace hard drive ones yet the view still seems full of white areas and images to the right of the page.

 

Its driving me nuts - can anyone help please?

 
Replies
  • Currently Being Moderated
    Sep 21, 2012 7:30 AM   in reply to Golfer200

    Sure. Let's see the page in question or at minimum the code from the HTML and CSS along with a screenshot of what you are seeing.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 21, 2012 10:05 AM   in reply to Golfer200

    The first order of business is to Validate your code and fix errors.   A missing semi-colon in your CSS or an orphaned tag in your HTML might account for this.

     

    Code Validation Tools

    ------------------------------------

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

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

     

     

    Nancy O.

     
    |
    Mark as:
  • Sudarshan Thiagarajan
    3,738 posts
    Oct 15, 2010
    Currently Being Moderated
    Sep 22, 2012 6:13 AM   in reply to Golfer200

    Seems just fine on browsers I've seen on. W3 validator shows no critical errors either. I don't think its to do with code.

     

    For starters, can you clear your DW cache and try it out to see if there's any progress? Follow steps here: http://forums.adobe.com/thread/494811

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 22, 2012 10:42 AM   in reply to Golfer200

    What happens in Live View?

     

    Nancy O.

     
    |
    Mark as:
  • Sudarshan Thiagarajan
    3,738 posts
    Oct 15, 2010
    Currently Being Moderated
    Sep 22, 2012 11:04 AM   in reply to Golfer200

    That's a first. Wonder why. Let us wait for an expert out here to post their views. It's great that Nancy's answer helped.

     

    @Nancy, why would this happen? I've never experienced/ heard of this before!

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 22, 2012 11:08 AM   in reply to Golfer200

    I think CS6 Live View uses the web-kit browsing engine which is the same as Chrome & Safari. 

     

    Are you using a Local Testing Server to parse content into your PHP pages?

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 22, 2012 11:18 AM   in reply to Nancy O.

    Here's a workaround I often use when my layout won't play nice with Design View.

    Disable CSS.  View > Style Rendering > turn off Display Styles.

     

    Another option is to use Design-Time style sheets to hide the offending CSS.

    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822 510a94ae8d65-7e17a.html

     

    Hope this helps,

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 22, 2012 12:29 PM   in reply to Golfer200

    If you use server-side includes or content pulled from database, you won't see them locally unless you use a local testing server.

     

    Everyone has their favorites.  I like WAMP because it's easy to set up and works great on Windows (as long as you don't use Skype). If you use Skype, there's a workaround for that as well.

    http://stackoverflow.com/questions/410391/wamp-server-not-working

     

    If you're not using SSIs or databases, a local testing server isn't important. 

     

    If that's the case, I suspect you're experiencing design view issues caused by one or more CSS files. Could be CSS PIE or one of the others.  A simple test would be to comment out links to each CSS file until you identify the culprit. Then use Design-Time Style Sheets in DW to disable the offending CSS files while you edit pages.

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 23, 2012 10:53 AM   in reply to Golfer200

    This isn't a CS6 bug.  I'm working on a project right now that uses Fluid Grid as a starting point.  And yes, I've made quite a few width changes and no, I'm not having problems with Design View.   If your layout.css is the culprit, you need to go through it -- line by line.  

     

     

    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