1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Oh,   How I hate you..

Discussion in 'BlackHat Lounge' started by Ghoast, Dec 29, 2011.

  1. Ghoast

    Ghoast Power Member

    Joined:
    Nov 17, 2009
    Messages:
    564
    Likes Received:
    604
    I hate you so much  

    Whenever I finish writing some HTML, stick it into my WYSIWYG editor and then see the results, there seems to always be an extra   that the editor adds which magically appears somewhere in my massive block of HTML.

    Then I have the joyous chore of checking through thousands of lines looking for the pesky   which is ruining my entire page layout with it's unneeded spacing.

    Ahhhhh,   you are like the government, I hate you for some reasons and I need you for others!

    /rant

    Anyone else get this problem or a phantom   appearing in their code and ruining the whol layout?

    Do you have a fix? At the moment my fix is to 'find and replace' all   with nothing and then add in all the   back in that I actually do need..
     
    • Thanks Thanks x 1
  2. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,785
    Likes Received:
    6,322
    Home Page:
    On what platform?
     
  3. Ghoast

    Ghoast Power Member

    Joined:
    Nov 17, 2009
    Messages:
    564
    Likes Received:
    604
    Xsitepro2
     
  4. beaglejuice

    beaglejuice Power Member

    Joined:
    Mar 12, 2009
    Messages:
    595
    Likes Received:
    423
    Are you using nulled plugins and scripts?
     
  5. seoguru13

    seoguru13 Senior Member

    Joined:
    Jan 9, 2011
    Messages:
    1,063
    Likes Received:
    691
    Occupation:
    Businessman - SEO Consultant & Writer
    Location:
    India
    Home Page:
    I hate this problem on wordpress too.. It's such a pain. Another pesky issue is with the <br /> and wordpress adding <p> when not needed. Wish someone taught some coding to wordpress!
     
  6. envisionit2011

    envisionit2011 Newbie

    Joined:
    Dec 26, 2011
    Messages:
    15
    Likes Received:
    4
    Occupation:
    Web Design
    Location:
    Connecticut
    You need to remove all of those in the Source Tab for the page, then click Save, and close the website in XSitePro, you should never fix those, and click Design Tab. Anytime you switch from Source tab to Design tab, you will get the nbsp's back.

    If your using nbsp's for spaces between images:

    Use horizontal spaces for the images to get spaces, select the images and then right-click, choose properties for the images in design tab and find Space: Horizontal, add space there. Go back to the source tab to see the code that was created and duplicate that for the other images.

    Hope that helps. If not I tried LOL
     
  7. Ghoast

    Ghoast Power Member

    Joined:
    Nov 17, 2009
    Messages:
    564
    Likes Received:
    604
    nope - it's just a simple review site that I'm making - no fancy scripts really just text and pictures
     
  8. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,785
    Likes Received:
    6,322
    Home Page:
    Don't know the system but does it have a HTML version that you can paste flat code into, or an option to turn of wysiwyg?
     
  9. Ghoast

    Ghoast Power Member

    Joined:
    Nov 17, 2009
    Messages:
    564
    Likes Received:
    604
    Thanks for the tips. I'll give that a shot! XSitePro2 is rather buggy it seems, but then again it's also fairly good/easy to use..
     
  10. Ghoast

    Ghoast Power Member

    Joined:
    Nov 17, 2009
    Messages:
    564
    Likes Received:
    604
    Yeah of course, that's what I'm using it as primarily - I write the code up in notepad and then paste it into the 'source' section.

    The problem is that when you click on 'design' tab to see what the HTML looks like it adds   left right and center and messes up the layout!
     
  11. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,785
    Likes Received:
    6,322
    Home Page:
    Can't you save it in source mode then just view the site live? I know it sounds pointless, but I use cms systems and I normally disable the wysiwyg - all I need is the tempting engine, I always write HTML directly.

    Wysiwyg systems are notoriously buggy by nature, especially If your concerned with seo and valid schematic code.
     
  12. tnhomestead

    tnhomestead Regular Member

    Joined:
    Oct 9, 2011
    Messages:
    385
    Likes Received:
    253
    Location:
    Tenneessee USA
    Home Page:
    Just code by hand -- lay it out in Photoshop or whatever, then code by hand. Faster, better code and less hassles!
     
  13. Ghoast

    Ghoast Power Member

    Joined:
    Nov 17, 2009
    Messages:
    564
    Likes Received:
    604
    I DOOOOOO write HTML by hand, I think this is what everyone is missing here!

    The problem occurs when I stick it into my web builder to see what the results are.

    It takes my lovely hand written code and adds   to it

    Then I may not notice and start adding more things to the page later on, then I'll see that it's slightly out of the correct layout and I'll be like, 'nooooooo damn you   not again!!'

    This is the thing which I complain of!