www.webdeveloper.com
Results 1 to 6 of 6

Thread: IE / Firefox / Safari help!

  1. #1
    Join Date
    May 2007
    Posts
    7

    Unhappy IE / Firefox / Safari help!

    I'm curious why I can't view the site from my mac, but on my other computer (using I.E. and Firefox as browsers) it comes up perfectly fine?

    The site in question is www.chrisnieratko.com

    I'm guessing it's just a bit of code that the site is missing? Can anybody please help clue me in?

    Thanks!

  2. #2
    Join Date
    Sep 2010
    Posts
    62
    I get the same results with Chrome on Windows. What program are you using to create the HTML? It looks like it is FrontPage or Expression.

    There are additional characters embedded in the html and it all ends up displayed as plain text. Try changing the character encoding or copy the html into a plain text editor and then save out the html.
    Quint Jensen
    Web Developer
    Scaled Solutions

  3. #3
    Join Date
    May 2007
    Posts
    7
    Thank you very much for your reply.

    I'm using Textpad to create the html. When I bring up the html file in Textpad I can't find any characters that look like they don't belong.

    However, that was an issue that I ran into on a different site, these tiny ascii square boxes were popping up because sometimes I copy & paste the code from notepad to textpad, or from an e-mail or whatever else. I didn't know that characters could just appear like that. Is there a better program or a way that I can see these undesireable characters to get rid of them?

    Thanks!

  4. #4
    Join Date
    Sep 2010
    Posts
    62
    When you copy the html, you might want to skip the generator signature. Based on the head tags it looks like you did this with FrontPage or another MS product.

    I don't know Textpad, but I use Notepad++ for simple web pages and Eclipse when I am working on a more complex site. I have never had troubles like this so I don't know exactly where the problem is, but trying a different text editor might be worth a try. Notepad++ is free as in speech/free as in beer so you can get it from Sourceforge and give it a try.
    Quint Jensen
    Web Developer
    Scaled Solutions

  5. #5
    Join Date
    May 2007
    Posts
    7
    So it may be as simple as just copying & pasting the text into Notepad++ and then saving it as a html file? Are you saying there's definitely nothing wrong with the code, or missing a certain doctype declaration or something stupid like that?

    Once again, I appreciate it greatly. Thank you very much.

  6. #6
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,207
    Word, WordPad, Publisher and even the infamous FrontPage should NEVER be used for web pages. They guarantee that your web pages will NOT be cross-browser compatible because of all the Microsoft Schema code it adds. Only IE and Maxthon understand this code. Additionally, FrontPage requires server extensions be installed to work correctly.

    CSS Errors

    30 HTML Errors

    No proper document type is the biggest error. As reported by HTML Tidy (Ignore line numbers):

    Result: 0 errors / 123 warnings

    line 1 column 1 - Warning: missing <!DOCTYPE> declaration
    line 20 column 1 - Warning: inserting implicit <body>
    line 27 column 90 - Warning: '<' + '/' + letter not allowed here
    line 27 column 138 - Warning: '<' + '/' + letter not allowed here
    line 28 column 110 - Warning: '<' + '/' + letter not allowed here
    line 28 column 132 - Warning: '<' + '/' + letter not allowed here
    line 29 column 89 - Warning: '<' + '/' + letter not allowed here
    line 29 column 113 - Warning: '<' + '/' + letter not allowed here
    line 30 column 109 - Warning: '<' + '/' + letter not allowed here
    line 30 column 151 - Warning: '<' + '/' + letter not allowed here
    line 42 column 198 - Warning: '<' + '/' + letter not allowed here
    line 42 column 316 - Warning: '<' + '/' + letter not allowed here
    line 42 column 322 - Warning: '<' + '/' + letter not allowed here
    line 120 column 1 - Warning: discarding unexpected <body>
    line 129 column 1 - Warning: <embed> is not approved by W3C
    line 130 column 1 - Warning: discarding unexpected </embed>
    line 133 column 116 - Warning: unescaped & or unknown entity "&tag"
    line 133 column 137 - Warning: unescaped & or unknown entity "&linkCode"
    line 133 column 150 - Warning: unescaped & or unknown entity "&camp"
    line 133 column 160 - Warning: unescaped & or unknown entity "&creative"
    line 133 column 174 - Warning: unescaped & or unknown entity "&creativeASIN"
    line 264 column 6000 - Warning: '<' + '/' + letter not allowed here
    line 264 column 6094 - Warning: '<' + '/' + letter not allowed here
    line 264 column 6717 - Warning: '<' + '/' + letter not allowed here
    line 264 column 6901 - Warning: '<' + '/' + letter not allowed here
    line 264 column 6907 - Warning: '<' + '/' + letter not allowed here
    line 264 column 8659 - Warning: '<' + '/' + letter not allowed here
    line 264 column 9282 - Warning: '<' + '/' + letter not allowed here
    line 264 column 9803 - Warning: '<' + '/' + letter not allowed here
    line 264 column 9809 - Warning: '<' + '/' + letter not allowed here
    line 264 column 14665 - Warning: '<' + '/' + letter not allowed here
    line 140 column 1 - Warning: missing </center>
    line 270 column 9 - Warning: missing </font> before <center>
    line 270 column 56 - Warning: inserting implicit <font>
    line 270 column 92 - Warning: inserting implicit <font>
    line 270 column 92 - Warning: missing </font> before <center>
    line 282 column 9 - Warning: inserting implicit <font>
    line 346 column 1 - Warning: inserting implicit <font>
    line 346 column 1 - Warning: missing </font> before <center>
    line 347 column 1 - Warning: inserting implicit <font>
    line 347 column 296 - Warning: unescaped & or unknown entity "&isUI"
    line 347 column 397 - Warning: unescaped & or unknown entity "&playerID"
    line 347 column 418 - Warning: unescaped & or unknown entity "&domain"
    line 347 column 431 - Warning: unescaped & or unknown entity "&dynamicStreaming"
    line 347 column 781 - Warning: unescaped & or unknown entity "&isUI"
    line 347 column 838 - Warning: unescaped & or unknown entity "&playerID"
    line 347 column 859 - Warning: unescaped & which should be written as &amp;
    line 347 column 860 - Warning: unescaped & or unknown entity "&domain"
    line 347 column 873 - Warning: unescaped & or unknown entity "&dynamicStreaming"
    line 347 column 697 - Warning: <embed> is not approved by W3C
    line 347 column 1205 - Warning: discarding unexpected </embed>
    line 347 column 1 - Warning: missing </font> before <hr>
    line 349 column 81 - Warning: unescaped & which should be written as &amp;
    line 355 column 96 - Warning: unescaped & or unknown entity "&hl"
    line 355 column 105 - Warning: unescaped & or unknown entity "&fs"
    line 355 column 110 - Warning: unescaped & which should be written as &amp;
    line 355 column 113 - Warning: discarding unexpected </param>
    line 355 column 164 - Warning: discarding unexpected </param>
    line 355 column 219 - Warning: discarding unexpected </param>
    line 355 column 275 - Warning: unescaped & or unknown entity "&hl"
    line 355 column 284 - Warning: unescaped & or unknown entity "&fs"
    line 355 column 289 - Warning: unescaped & which should be written as &amp;
    line 355 column 227 - Warning: <embed> is not approved by W3C
    line 355 column 403 - Warning: discarding unexpected </embed>
    line 358 column 96 - Warning: unescaped & or unknown entity "&hl"
    line 358 column 105 - Warning: unescaped & or unknown entity "&fs"
    line 358 column 110 - Warning: unescaped & which should be written as &amp;
    line 358 column 113 - Warning: discarding unexpected </param>
    line 358 column 164 - Warning: discarding unexpected </param>
    line 358 column 219 - Warning: discarding unexpected </param>
    line 358 column 275 - Warning: unescaped & or unknown entity "&hl"
    line 358 column 284 - Warning: unescaped & or unknown entity "&fs"
    line 358 column 289 - Warning: unescaped & which should be written as &amp;
    line 358 column 227 - Warning: <embed> is not approved by W3C
    line 358 column 403 - Warning: discarding unexpected </embed>
    line 361 column 96 - Warning: unescaped & or unknown entity "&hl"
    line 361 column 105 - Warning: unescaped & or unknown entity "&fs"
    line 361 column 110 - Warning: unescaped & which should be written as &amp;
    line 361 column 113 - Warning: discarding unexpected </param>
    line 361 column 164 - Warning: discarding unexpected </param>
    line 361 column 219 - Warning: discarding unexpected </param>
    line 361 column 275 - Warning: unescaped & or unknown entity "&hl"
    line 361 column 284 - Warning: unescaped & or unknown entity "&fs"
    line 361 column 289 - Warning: unescaped & which should be written as &amp;
    line 361 column 227 - Warning: <embed> is not approved by W3C
    line 361 column 403 - Warning: discarding unexpected </embed>
    line 364 column 96 - Warning: unescaped & or unknown entity "&hl"
    line 364 column 105 - Warning: unescaped & or unknown entity "&fs"
    line 364 column 110 - Warning: unescaped & which should be written as &amp;
    line 364 column 113 - Warning: discarding unexpected </param>
    line 364 column 164 - Warning: discarding unexpected </param>
    line 364 column 219 - Warning: discarding unexpected </param>
    line 364 column 275 - Warning: unescaped & or unknown entity "&hl"
    line 364 column 284 - Warning: unescaped & or unknown entity "&fs"
    line 364 column 289 - Warning: unescaped & which should be written as &amp;
    line 364 column 227 - Warning: <embed> is not approved by W3C
    line 364 column 403 - Warning: discarding unexpected </embed>
    line 432 column 1 - Warning: entity "&#169;" doesn't end in ';'
    line 349 column 9 - Warning: missing </center>
    line 433 column 1 - Warning: discarding unexpected </div>
    line 122 column 1 - Warning: missing </table>
    line 121 column 1 - Warning: missing </center>
    line 20 column 1 - Warning: missing </center>
    line 122 column 1 - Warning: <table> proprietary attribute "bordercolor"
    line 122 column 1 - Warning: <table> lacks "summary" attribute
    line 124 column 24 - Warning: <table> proprietary attribute "bordercolor"
    line 124 column 24 - Warning: <table> lacks "summary" attribute
    line 181 column 6 - Warning: <a> attribute "target" has invalid value "_new"
    line 182 column 6 - Warning: <a> attribute "target" has invalid value "_new"
    line 183 column 6 - Warning: <a> attribute "target" has invalid value "_new"
    line 184 column 6 - Warning: <a> attribute "target" has invalid value "_new"
    line 185 column 6 - Warning: <a> attribute "target" has invalid value "_new"
    line 192 column 1 - Warning: <script> inserting "type" attribute
    line 264 column 1 - Warning: <script> inserting "type" attribute
    line 268 column 1 - Warning: <table> lacks "summary" attribute
    line 270 column 56 - Warning: <img> lacks "alt" attribute
    line 282 column 9 - Warning: <script> inserting "type" attribute
    line 340 column 1 - Warning: <script> inserting "type" attribute
    line 349 column 119 - Warning: <a> attribute "target" has invalid value "_new"
    line 352 column 9 - Warning: <img> lacks "alt" attribute
    line 367 column 9 - Warning: <script> inserting "type" attribute
    line 425 column 1 - Warning: <script> inserting "type" attribute
    line 270 column 9 - Warning: trimming empty <font>
    Info: Document content looks like HTML Proprietary
    Those should be easy to clean up and it will make the page more compatible with browsers.
    Last edited by Major Payne; 10-21-2010 at 02:46 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles