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?
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.
Thanks SnakEyez and Nancy.
Link to site in development is: www.ascent-sation.co.uk.gridhosted.co.uk/index.php
The forum will not let me uplaod an image, I select the image from the dropdown on My Computer, choose 'Insert' and nothing happens, even though I made it 450px and opt for web?
So a link to my screen shot in larger version is: www.ascent-sation.co.uk.gridhosted.co.uk/dwview.jpg
It passes html5 on the validator.
It fails the CSS3 validator but that is because the DWCS6 system uses boilerplate.css layout.css and most of th eother errors are from the responsive menu(meganizr.css) slider script(wowslider) or the jquery calandar I was preparing to insert.
The only errors on my stylesheet (ascent.css) relate to css3pie, which the system does not understand but it a real godsend for making CSS3 properties work on IE 7, 8 & 9(gradients).
If someone could resovle this DW corrution view I would be very grateful.
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
Thanks Sudarshan.
Deleted just the cache first - no change.
Deleted the whole personal configuration file, rebooted - no change.
Its maddening!!!
Just seen Nancy's post - in Live view it is the same as the live website, so ok, just the gradients on the menu are all pink rather than pink/cream but that could be because it is using IE to display it I suppose?
If I click design or split while in live view it displays correctly (except the full pink menu).
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.
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.
Thanks Nancy
I have identified the culprit as layout.css, the file created by DWCS6 fluid grid system!
Feeling guilty because i did play around with its percentages, i restored the web server to the original file when, I set the first design up - and it still gave the DW viewing errors.
I commented out each css file in turn, the wowslider one commented out made a slight difference in that the slider images appeared in the correct posistion but still the simple css nav images i created in the div on the right was still off the DW viewing screen and still(what you could not see from the screenshot) little dots for the images.
The only solution was to comment out layout.css on its own.
I even tried commenting out one section at a time of layout.css, even just the top line
img, object, embed, video {
max-width: 100%;
}
but it still resulted in the same DW viewing errors.
I have used your 'Design Time' method to hide the style sheet as a workaround thanks but perhaps the program designers could work out why it is having this effect for hte next update or something.
North America
Europe, Middle East and Africa
Asia Pacific