Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 358
  • Last Modified:

Expression Web not showing current code

Running Expression Web 4 on a Windows 7 platform, there appear to be discrepancies between the code shown in Expression and code as shown in a text viewer.  The text viewer shows the latest revision.  Restarting Expression, clearing Temporary files from within Expression, and running EW Cleaner did not help.  

I'm not looking to replace Expression Web with another application just now, but I'd like to know how to get it to display the current version of a page.Expressiontext viewer
0
ddantes
Asked:
ddantes
  • 5
  • 5
1 Solution
 
Scott Fell, EE MVEDeveloperCommented:
It probably has something to do with 100% is implied if left out.  Both of your screenshots are doing the same thing.  I don't know what the text viewer is but it looks like it is calculating.

This is nothing to worry about or that you can control.
0
 
ddantesAuthor Commented:
Thank you.  The text viewer is just notepad.exe.   In the notepad view, the frameset cols and spans are consolidated into a single line of code.  That made a difference in W3C validation.  The version displayed in Expression was accurate before the file was edited to consolidate those two lines of code.  

Just now I opened that file in Expression on another computer, which has no history with that file, and it looks identical to the Expression version I posted with my question.  So I must conclude that it isn't some kind of stale cache issue.

Before closing this question, could you clarify how the two screen shots are doing the same thing?  In the 2-line code, isn't there a frameset within a frameset?
0
 
Scott Fell, EE MVEDeveloperCommented:
Note pad is just a plain text editor.  It is not doing anything to your code.  And I can only make guesses from your image.  When I saw 3lines of code vs 2, I assumed that is your cropping.

1) Make sure you are using the same exact file.

2) Make sure you are not opening the same file with two different pieces of software at the same time.

Try completely closing everything.  Then open in note pad and see how it looks.  Then close, if you are given the option to save, don't.  Now go back to Expression Web and open the same file.  

In any case, the 2nd line of each of your images (starting with <fameset) mean the same thing because it is implied that the col and rows are 100% if left out.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Scott Fell, EE MVEDeveloperCommented:
Instead of notepad, download notepad++ it is free http://notepad-plus-plus.org/ and will work better for code.
0
 
ddantesAuthor Commented:
Here is a screen shot of the code as seen in Notepad++.  It looks the same way in Wordpad, or if I use an FTP client and choose "edit."   The 2-line code in Expression Web is definitely the same file, and it is not open in more than one application.notepadd++
0
 
Scott Fell, EE MVEDeveloperCommented:
I'm confused. It sounds like you are looking both local and online.  That will not be the same file.  

What is the link to the file you are talking about?
0
 
ddantesAuthor Commented:
I have looked at a local file and an online file, but when the comparisons are made, they are made on a local file.  I've attached that file.availability.html
0
 
Scott Fell, EE MVEDeveloperCommented:
I don't know if this is part of the problem, but the file has "<sc'+'ript>" and also your comments should be below the doctype.  
<!-- Edit only with Notepad, because editing in Expression Web prevents Opera from displaying the page.
You can open the file to validate html in Expression, but don't save the file -->

Open in new window


Seeing the full code makes it easier to understand the problem you are getting.

Move the comments below the doctype declaration.  

Make a back up.

Change this
<frameset cols="100%,*" rows="100%,*" onunload="checkAndSave();">
to
<frameset cols="100%,*" rows="100%,*">

Remove your javascript files.  

Once you ave done those 4 things give it a test.  If it still does not work, it is Expression web.  If that fixes the issue, one by one add the javascript.   Each time you add a js file back, test.  Once the js files are on, add back the,  onunload="checkAndSave();"

Like I said in your previous question, the framesets cause problems and the one workaround you had to do for the other issue just propagates.  Then you end up doing a series of work arounds.    I do hope this little trouble shooting fixes your issue though!
0
 
ddantesAuthor Commented:
Thank you for the troubleshooting steps.  I'll post again after testing.
0
 
ddantesAuthor Commented:
I moved the comments below the DOCTYPE declaration, but I didn't perform the other tests.  Opening the file with Dreamweaver, the code is on one line (screen shot), so I'm satisfied this is an Expression issue.  It's probably unique to the frameset environment, about which you have cautioned me.Dreamweaver
Thank you for your assistance.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now