Non-breaking space question

cindy_5nyFebruary 23, 2004

I have a problem using & n b s p ; (no spaces) on this site and another site that I do some HTML work on. It seems to disappear from the code and leave a regular (empty) blank space after I submit it.

I ran into the problem when setting up a table - a table cell was not correctly formatted with only an empty blank space in it. I thought I found the solution - using & n b s p ; in the cell should have solved that problem. When I use it though, the typing disappears and leaves an ordinary empty blank space and the cell formatting problems. Has anyone else run into this problem? I can't figure out what I'm doing wrong.

Thanks,

Cindy

Thank you for reporting this comment. Undo
susanjn

What are you expecting to see? All you would see is an ordinary blank space. But the browser won't do a line break at that point.

    Bookmark   February 24, 2004 at 12:45AM
Thank you for reporting this comment. Undo
susanjn

Cindy,

I realized that my previous post may have sounded a little sarcastic. I didn't mean it that way at all! I really didn't understand from your original post what you wanted to see when you use & n b s p;.

Susan

    Bookmark   February 24, 2004 at 12:52AM
Thank you for reporting this comment. Undo
cindy_5ny

Susan, thanks.
I'm really having trouble explaining this one - no one seems to understand.

There is a difference between a space that you type with the spacebar and a space that you put in as & n b s p ; (no spaces). The spacebar space is just empty space, but the coded space actually has something there, even though you can't see it (like a placeholder). This makes a difference, because in a table, a table cell will not have any formatting if it is empty space. Here's what I am talking about.

The problem is, that on some pages nbsp is not recognized and is treated as empty space instead of "place holding" space, so I still can not created a normal looking, empty table cell.

Cindy

    Bookmark   February 24, 2004 at 7:07AM
Thank you for reporting this comment. Undo
susanjn

Cindy,

I understand what you mean about the table appearance. I use nbsp for that frequently. I thought you wanted to see something in that space. Can you link to an example of a table where it's not working? I love debugging!

Susan

    Bookmark   February 24, 2004 at 9:55AM
Thank you for reporting this comment. Undo
cindy_5ny

Thanks Susan,
I found a solution for my problem - seems like nbsp isn't recognized on some pages, so there are other symbols you can use instead explained here.
I tried inserting one of the other symbols and it seems to have solved my problem.
Cindy

    Bookmark   February 24, 2004 at 10:24AM
Thank you for reporting this comment. Undo
susanjn

Cindy,

So are you using xml?

Doesn't it just make you feel so ordinary to read
"This is the all-time #1 FAQ."

Susan

    Bookmark   February 24, 2004 at 10:38AM
Thank you for reporting this comment. Undo
cindy_5ny

LOL - Here's the scoop - it's not a web page that I set up myself - it's a sports site called eteamz that lets you do as little or as much coding as you want. You can just plug in info, upload pics or files and do it all in their format, or you can sneak in some of your own code. I wanted to do things a little differently than the standard format and set up some of my own tables, links, etc. What I've found is that some normal HTML tags work and some don't. I just thought I'd give the info a try that I found about the alternate nbsp and it worked.
How's that for confusing!
Cindy

    Bookmark   February 24, 2004 at 11:14AM
Thank you for reporting this comment. Undo
susanjn

Hmm, the pages have a .cfm extension, which is ColdFusion, of which I know next to nothing. I'm glad you found out how to make it work!

    Bookmark   February 24, 2004 at 2:18PM
Thank you for reporting this comment. Undo
cindy_5ny

Yea, it's been sort of a pain and I've considered just doing the page from scratch, but there are enough good things about the site that we like for us to stay. I like a challenge and as long as I can make things work, that's what matters! LOL
Cindy

    Bookmark   February 24, 2004 at 2:41PM
Thank you for reporting this comment. Undo
puggybw

Well the other way you can make a "space" is to make yourself a large transparent gif. One advantage to this way is you can always control the exact space using "height" and "width" and since it's actually an image you will never have to worry about a code not working.

    Bookmark   February 24, 2004 at 5:31PM
Thank you for reporting this comment. Undo
cindy_5ny

Thanks puggy,
I had something like that in mind next if I couldn't find an easy string of characters to type in.
CIndy

    Bookmark   February 24, 2004 at 8:02PM
Sign Up to comment
More Discussions
Richard (chuggerguy)
Checking for the presence of adblocker.
Asteroids This post was edited by chuggerguy on Fri,...
Richard (chuggerguy)
seo
My client website has hit down after google Penguin...
Tinaustin
Bonsai
GardenWeb I hope this post finds you well. I have acquired...
olindha
Can I disable source view or hide my html source
Any one knows how to disable source view or how to...
Rohit
People viewed this after searching for:
© 2015 Houzz Inc. Houzz® The new way to design your home™