Oh,   How I hate you..

Ghoast

Power Member
Joined
Nov 17, 2009
Messages
573
Reaction score
701
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..
 
On what platform?
 
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!
 
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
 
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?
 
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

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..
 
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?

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!
 
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!

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.
 
Just code by hand -- lay it out in Photoshop or whatever, then code by hand. Faster, better code and less hassles!
 
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!
 
Back
Top