Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Unhappy Entire pages rendered in chinese - only in 1 section!

    My css style sheet seems to be getting totally obliterated in my products section:

    http://www.cholenapegues.com/bruno_1/index.html (loads right)
    http://www.cholenapegues.com/bruno_1/products.html

    Some of the basic HTML is not even showing up. Tried content-type declarations in header areas, also updated .htaccess file to no avail...

    Need to resolve this before my brain explodes...\

    Thank you!!

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    What editor are you using? Notepad, perhaps?

    Viewing source shows that the problem starts up in the doctype at the position where there is often a newline. It appears similarly elsewhere. This suggests you're using a lousy editor and/or saving in a "weird" encoding (non-ANSI, for example).
    Are you a Help Vampire?

  • Users who have thanked tomws for this post:

    kalipegues (12-07-2009)

  • #3
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello kalipeques,
    It's definitely your markup, not your CSS.
    Were you editing your products page recently when this happened? Like tomws says, I would suspect the editor first.
    If not, then it's likely something happened on the servers side. You got hacked maybe or just happened to land on a bad sector on the drive.

    Replace products.html from your backup and I'm sure all will be fine.
    Assuming you have not borked .htaccess or something else you were trying to fix.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    kalipegues (12-07-2009)

  • #4
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Yes, Notepad. I'll check syntax on that line and also double-check my text file format...

    Thanks!!

  • #5
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    It worked!!

    Lots of love all around, THANK YOU!!


  •  

    Posting Permissions

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