It may be you have problems in your code. Without seeing that it is not easy to tell you any more. You might see differences between a browser and a DW view but they should not be bad.
A link to a page is best but your code pasted here would help.
Hi martcol, it is not DW view, both are browser views, just that one of it is a f12(preview in browser) while the other one is going to the directory and clicking the html page by itself. Thanks for ur reply too!
just that one of it is a f12 (preview in browser) while the other one is going to the directory and clicking the html page by itself.
F12 is simply a hot key that launches your browser.
The only thing I can think of to explain this is that you have a local site folder someplace in addition to a testing server site.
When you hit preview, your testing server on the localhost/ is being called up in the browser.
When you open the HTML page directly, you're seeing the local site file with unparsed data.
Try disabling your Testing Server in Sites > Manage sites > Edit...
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists