IE And It's Annoying NBSP (Non-Breakable Space) - How to stop it

free web hosting
Free Web Hosting > Computers & Tech > Designing > Web Design and HTML

IE And It's Annoying NBSP (Non-Breakable Space) - How to stop it

twitch
Fellow designers, developers and table makers. This is a short explanation and tutorial on problem-child Internet Explorer's urge to fill empty div or table tags with a non-breakable space (html char code   ).

Why does IE put NBSP into empty div/table tags?
Here comes a really professional answer. I don't know why. Surely it takes that bit longer to put a conditional statement that if there is an empty tag, fill it with somet. Surely, it would be easier to say don't fill. But then again, MS never do things by half.

The Work Around
There may be a Javascript or even more simpler way than doing it this way, but so far I have not come across it. The only way to stop IE from rendering the div or table to the height of the text in which it contains (if it is empty, MS puts in a non-breakable space, therefore renders at the size of the body text) is to create a 1px*1px GIF with an index transparency of white and the background of white. This makes it a clear square. It is still classed as an object, so by putting <img src="images/clear.gif" alt="" height="1px" width="1px" /> it renders whatever div/table cell at whatever height you specify (below the body text size).

If you don't want that div or table/cell to be rendered, then it is even easier, use CSS and set whatever element it is to display: none;

 

 

 


Reply

nightfox
Hmm...
normally I just use a transparent gif anyways and just fill the cell (usually keeping the gif's height 1 px). I find that this way, the design keeps its proper shape in ALL or MOST browsers. Normally, browsers won't go crazy if it can't move the object. But I ALWAYS suggest filling empty space with a transparent gif. They work perfectly as a "brace" to keep it all together. wink.gif

[N]F

Reply

iGuest
How can I stop IE from inserting this- ( ) -into an email that I\\
IE And It\'s Annoying NBSP (Non-Breakable Space)

Replying to twitch

Does anyone know why this is happening and how I can stop it.

How can I stop IE from inserting this- ( ) -into an email that I'm typing in yahoo

Any info would really help

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. non breakable windows - 13.52 hr back. (1)
  2. & non breakable space - 31.74 hr back. (1)

  3. space in ie - 97.16 hr back. (1)
  4. non breakable space code - 118.26 hr back. (1)
  5. ie hr spacing - 134.45 hr back. (1)
  6. non-breakable space inserted - 142.52 hr back. (1)
  7. html non breakable space - 101.55 hr back. (2)
  8. non breakable space remove - 160.19 hr back. (1)
  9. non breakable space - 166.65 hr back. (1)
  10. non breakable spaces in url - 223.91 hr back. (1)
  11. php non breakable space - 244.18 hr back. (1)
  12. html non-breakable / - 270.21 hr back. (1)
  13. html breakable space code - 281.47 hr back. (1)
  14. "non breakable space - 283.43 hr back. (1)
Similar Topics

Keywords : annoying, nbsp, breakable, space, stop

  1. Ideas Wanted: Car Oil Bottle
    How do I stop it falling over and leaking? (2)
  2. Disable Annoying Information Bar In Ie
    "Your current security settings put your computer at risk" (7)
    Ever since Microsoft released SP2 I got realy annoyed by the fact the every single click has to be
    verified because the operating system thinks you are stiill a noob. One of the more annoying
    "features" is that windows asks everytime I want to open an executable that I downloaded or I want
    to run over the network. Strange enough, this is not a windows-feature but an Internet Explroer
    feature, so this is the place where we have to disable this. Now, because Internet Explorer thinks
    mallware has changed this setting, it warns you in internet explorer with an message in the....
  3. Stop Hold Of Hosting Credits
    vacation (4)
    I will be out of net access for a while, and I want to put a stop hold on the credits as I don't
    want to lose them because I can't post. I'm also thinking of taking the site down and
    making a new one so I guess I have to replace them. So the big question is how do I do that? How
    do I stop my credit usage? Don't care if the sites down as I want to make a new one.... Also
    is there a way to replace the old site domain name with a new one and start all over??? Another
    question what happened to all my hosting credits? I have a lot and when I became a ....
  4. Space Needed For Database
    (10)
    Iam assuming the information in the databases i will create will be stored in the 500 MB space i
    get, but since 500MB isn't enough iam wondering if you guys can tell me how much bytes the
    following take: Varchar(x),Tinyint,Text,date,smallint,mediumint,bigint,float.... And the rest
    present when you add/edit a row in a table. Also what are the ranges of tinyint,smallint,mediumint
    and big int....
  5. More Space?
    (5)
    hi all.. i have my forum about games and i need space for images and other things.. and i want to
    share my DJ produtions on my personal site.. if i get the the Package 2 and i need more space.. can
    i get more space for these things? i'm waiting.. /wink.gif" style="vertical-align:middle"
    emoid=";)" border="0" alt="wink.gif" /> bye.....
  6. Opensuse: Stop Asking Root Password
    (5)
    I've just installed openSuse 11.0 on my laptop to replace Vista. However, it's very annoying
    that it constantly keeps asking for a root password when I want to configure something. I even
    changed my default group from 'users' to 'root', but that didn't help , it keeps
    asking for a password /mellow.gif" style="vertical-align:middle" emoid=":mellow:" border="0"
    alt="mellow.gif" /> . I've also tried adding /sbin/yast2 and other to the sbin configuration,
    but that doesn't work either (because for example, yast2 isn't launched with sud....
  7. Annoying Virus!
    Need help. (5)
    I have this strange virus on my computer and McAfee does not detect it. It does not do anything
    harmful. What it does is that, when I am going around 'my computer' and accessing files I
    get this very annoying message saying "your computer has a major virus. Please click yes to download
    the antivirus". It just pops up when I am in 'my computer' and when I am in 'windows
    explorer'. When I click yes they tell me to buy this antivirus program which I think is
    completely crappy. Even McAfee does not see this bug as a virus as it does nothing harmful ....
  8. Eve Online
    The Economy Simulation Game In space (1)
    The Game is Not Freeware the demo IS (See End) is!!!!! The Game costs Money to
    play. By Brad Cook Cruising through the Kisogo system on my way to the State War Academy School
    near Kisogo VII, I recall a quote from Douglas Adams’ wonderful novel “The Hitchhiker’s Guide to the
    Galaxy”: “Space is big. Really big. You just won’t believe how vastly hugely mind-boggingly big it
    is.” What a shame Adams never had a chance to experience EVE Online, where 5,000 solar systems
    evolve daily in one enormous persistent universe populated by nearly 200,000 play....
  9. 10 Extremely Useful Websites To Stop Big Brother From Snooping On You
    (5)
    10 Extremely Useful Websites to Stop Big Brother From Snooping on You I just read this excellent
    article that i think could be helpful for all of us, as it's name says it shows up 10 of the
    most useful website to stop spam, junk mail, etc. From the article: QUOTE If you are tired of
    receiving junk mail, spam and annoying telemarketing phone calls, then this list is for you. If you
    desire to take steps to stop the snooping from the government, hackers and marketing agencies, then
    this list will show you the way to privacy freedom. People probably don’t reali....
  10. Newsit Web Host Review
    (4)
    newsit es These Guys I've Been With, Were Nice, But the pages would load so SLOW! Here's
    There Server Specs: QUOTE * 20 GB Web Space: Premium space for your websites * Intel Xeon
    Servers: 15 GHZ Quad Core Servers * PHP 5: Latest Version of PHP * FTP: With CHMOD enabled
    * Live support: Always here to help! * Your Domain: You can host your own domain here!
    * 300GB Bandwidth: A lot of traffic? Host here! * MySQL 5: 5 Databases Per User *
    99.5% Uptime: With stats to prove it - * Price: FREE! No Pop-Ups or S....
  11. A Gaiaonline Problem
    A problem i want to stop (9)
    I have a problem getting on Gaiaonline. When I go it always says "SLOW DOWN Slow down,
    hotshot! You've been loading pages too fast, and our system doesn't like it. Take a
    break for a few minutes so we can catch up! This is not a ban. Come back in a littlw while,
    ok?" and I want it to stop! So can anyone please help me out here?....
  12. Free Hosting - 15gb Space - 250gb Bw
    Believe it or not! (42)
    www.789mb.com is a new free hosting provider. As I stated in the title they offer 15GB of space and
    250GB of bandwith monthly. QUOTE The main features are the following: * Free web hosting.
    Free extras. Zero Ads! * Free Web Hosting: 15GB disk space, 250GB Ultra-Quality bandwidth.
    * Features: PHP 5, MYSQL, FTP * 5 MYSQL Databases and 5 MYSQL Users! * 99.9% SLA
    Uptime Guarantee! * Domain/Subdomain: Host your own domain or choose a FREE sub-domain from
    one of our domains, like your-name.789Mb.com! Some reasons to use this free ....
  13. No Internet
    this is annoying...... (6)
    i have just had to switch back to windows b/c i cant get my USB wireless connector working with
    linux ive installed my drivers but it just doesnt seem to recognise that i put it in at all....
  14. Game: Stop Stop -> How Timely Are You?
    (6)
    Out of boredom, I turned one of the games that we used to play some times into a .NET application.
    The game named Stop Stop is pretty simple in concept where you need to stop the clock as close as
    possible to the checkpoints 10, 20, 30, 40 & 50. You earn scores based on how close you reach to the
    checkpoints. It maintains an online record of the scores obtained by players which can be seen by
    anyone along with the offline scores. Here's the link to it:
    http://maxotek.net/products/list.php?name=MX%20Stop%20Stop Here are some screenshots:- Main
    Window Inter....
  15. Astahost Hosting Plan Upgrades To Offer Even More!
    more space and bandwidth (43)
    Thank you all for supporting AstaHost through thick and thin. AstaHost, a member of Xisto, is proud
    to announce that in show of your appreciation the following changes will occur very soon. 150 MB
    --> 500 MB 5 GB BW --> 10 GB Bandwidth This hosting upgrade only applies to those who
    started with 150 MB with 5 GB bandwidth plan. Keep supporting AstaHost and spread ComputingHost to
    the world! /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
    --AstaHost Management UPDATE: This change is only for Plan 2 hosting members. It doe....
  16. Qupis : Free Cpanel Web Hosting (one Line Text Ad At Bottom)
    150 MB space, 10000 MB Bandwidth, php, mysql, CPanel (10)
    Hello Members, We are proud to introduce a new member to Xisto group of sites.
    Qupis : Free Web Hosting 150 MB space, 5000 MB Bandwidth, php,
    mysql, CPanel (Latest). Emails, FTP, Addon domains, Parked Domains etc.
    http://www.Qupis.com
    Feel free to add your reviews and comments about it. -AstaHost
    Management ....
  17. Help To Transfer Files Within Hosting Space Using Php
    (4)
    I want to transfer files from one folder to another or an entire folder in my web space. I don't
    want to download it and upload it, can I do this using a PHP script. Please help me. I'm just
    learning the basics of PHP....
  18. Stop Smoking, Save Thousands!
    Literally, it is possible. (51)
    Last semester I was lucky enough to come across one of those teachers that knows what you want to
    learn and has the perfect approach to teaching it to you. Have you ever had that expirience? It is
    simply awesome. Anyways, lets get down to buisness. As an assignment in this class I took, we were
    supposed to calculate how much money a person who smokes 1 pack of cigaretts a day would save if
    they quit smoking and invested their money into a fund with a 9% intrest rate. First thing we had to
    do was calculate how much a pack of smokes would cost on average, and where I liv....
  19. Astahost Forums Now Ads Free!
    No More annoying Ads on AstaHost Forums (40)
    Dear Members, I am pleased to announce that due to tremendous success with ComputingHost.com, We
    are now pleased to offer our members the new AD-FREE Forums for our Members. Registered members will
    no longer have to tolerate the annoying ads. However, We also request our members to promote our
    Paid Web Hosting Service (www.ComputingHost.com). Please give us your feedback about our decision.
    -AstaHost Management ....
  20. Space Tools
    Can any gases be used. (5)
    One night after seeing a movie were a vacuum occurs in space i had a thought, if you use a water
    wheel with a tank of gas would you be able to spin the wheel thus giving power to the tool. and if
    so how strong would the vacuum be? Powerful enough to spin a chainsaw? Strong enough to give
    electricity to a ship? This could be used to the advantage of space travel. Does anyone think it
    is feasible?....
  21. Ever Needs To Find Out A Table Height Or With With JavaScript
    Well stop looking, here is the answer (CSS and JS) (2)
    Welcome everybody to this litle tutorial. by v.DragonEyE.n09 Introduction: Using
    javascript you can find the height and width of a table, cell, div, image, etc.. the more simple way
    is to ask for this... QUOTE id= "myElement" border= "0" cellpadding=
    "0" cellspacing= "0" style= " height : 300px ; width
    : 450px ; " > some
    fake text and images for the example some fak....
  22. Space Rangers (1/2)
    (4)
    You might know a cool game(made in Russia, by de way;)), called Space Rangers. Type, Class of that
    game is quite difficult to be determined. actually, It is just a mixture of nearly all the classes,
    bu despite such projects are usually to fail, this one turned oyt to be really cool) There are
    already two parts of that game and the 3rd one is being developed at the moment. If anybody had
    played it or just knows about it, please report about your impressions here;) P.S. For the others I
    strongly recommend to buy this one as soon as is possible. I'm sure you won't ....
  23. Space Exploration (nasa= Good/bad)
    (33)
    I wanted to see what people think about space exploration I believe that it is necessary- heres my
    views on space exploration Space exploration is one of the most important program humans ever
    had. There are some who believe that the National Aeronautics and Space Administration (NASA)
    should be put at a halt. Others say that we as humans should spend more money on improving Earth
    such as using NASA’s budget for getting food to the poor. However, space exploration is important
    in many ways. Every day technology such as the news on television is made available by ....
  24. Worst "trojan" Ever And It Takes Over Iexplore
    Horribly annoying pop-ups (15)
    Internet Explorer has been scammed! OK full details: Problem? A program which keeps popping up
    a window which says - QUOTE Windows is corrupted with spyware virus. You must patch your pc
    urgently to protect your system Private info is accessed by ports: -8080 -3128 You can patch your pc
    for free now and delete all spyware viruses Click ok to choose and download free spyware removal
    using AntiSpy There is an OK and CANCEL button. It also has a "X" button at the top right hand.
    It is not a potentially dangerous trojan but it is DEAD annoying and my dad hate....
  25. My Theory Of Betting
    what can make you stop? (10)
    i have just starting betting in the bookies, and found out a whole new knowledge and experiance.
    winning makes you fell good and want to bet more to get more, or losing it makes you want to win it
    back. but heres the question. how do you stop these bets? nothing seems to stop you from doing it.
    maybe its in our human nature to be greedy and feel good. is there a limit to feel good in betting?
    or do you always end up crying when you lose it all. knowledge is most important in betting (i
    think) to work out the odds they are based on pass experiences. but if it wins all....
  26. Google Webspace
    Google Web Space (21)
    I have heard rumors that Google might be offering webspace to customers. I haven't read any
    articles about this. I merely stumbled upon it while reading something. If this rumor is true, what
    do you think Google will offer if their webspace just happened to be free? I personally think they
    will eventually expand into this industry. Google has made it's way into Froogle and Gmail.
    It's likely that they will end up giving out free webspace. Yes, I know, they do offer blogs
    already!!....
  27. Bad_pool_header
    Blue screen Win Xp stop (8)
    Bad pool header Hi, do anyone know how to solve a BAD_POLL_HEADER... this is not a permanent error,
    it comes and goes.. The only unsual thing that are new on this pc are: *SP2 upgrade (i think this
    is the problem) and e-mule recently installed... Win XP starts normally, and when we try to login
    into an user account POW.. The Killer blue screen appears... the messegae is long and in spanich..
    so the relevant info BAD_POOL HEADER_ and 0x00000019....
  28. Stop AUTO_INCREMENT From Jumping
    (13)
    One of my MySQL tables has an ID column - it's a primary key with auto_increment. And it works.
    If I add six rows they number 1 to 6 nicely. But if I delete rows 4 to 6 then add a new row, it
    becomes row 7. And if I delete that it becomes row 8. How can I make it so the next auto_increment
    is the smallest possible? (i.e. 1,2,3,4,5,6 - I delete 4-6 and the next row inserted becomes 4)....
  29. Meta Tags
    To Stop Spiders (17)
    Sometimes you don't want search engine spiders to spider your site. For example, you may not
    want your pages to show up in a google search. Here is what you can do: use meta tags in your web
    pages. You can use meta tags to control indexing and crawling of your site. By default, every
    single page in your site will be indexed by search engine spiders. To control this default action,
    just use meta tags! How? Your meta tags must be located in the HTML codes of your pages, in the
    header between the and tags. So if you want spiders to index your page and follow ....
  30. Stop anything from making it ur homepage!
    (52)
    I found out that you can override any homepage setting in Internet Options. If you have spyware, or
    come accross it frequently, then this is a very good tweak for you. 1. Right-click on the IE icon
    on your desktop. 2. Select Properties 3. Now in the "Target" box you will see "C:\Program
    Files\Internet Explorer\IEXPLORE.EXE" Now by adding the url of the site to the end of
    this it overrides any Homepage setting in internet options. ex: "C:\Program
    Files\Internet Explorer\IEXPLORE.EXE" www.sdgamerz.tk Note: This works only with a cust....

    1. Looking for annoying, nbsp, breakable, space, stop

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for annoying, nbsp, breakable, space, stop
Similar
Ideas Wanted: Car Oil Bottle - How do I stop it falling over and leaking?
Disable Annoying Information Bar In Ie - "Your current security settings put your computer at risk"
Stop Hold Of Hosting Credits - vacation
Space Needed For Database
More Space?
Opensuse: Stop Asking Root Password
Annoying Virus! - Need help.
Eve Online - The Economy Simulation Game In space
10 Extremely Useful Websites To Stop Big Brother From Snooping On You
Newsit Web Host Review
A Gaiaonline Problem - A problem i want to stop
Free Hosting - 15gb Space - 250gb Bw - Believe it or not!
No Internet - this is annoying......
Game: Stop Stop -> How Timely Are You?
Astahost Hosting Plan Upgrades To Offer Even More! - more space and bandwidth
Qupis : Free Cpanel Web Hosting (one Line Text Ad At Bottom) - 150 MB space, 10000 MB Bandwidth, php, mysql, CPanel
Help To Transfer Files Within Hosting Space Using Php
Stop Smoking, Save Thousands! - Literally, it is possible.
Astahost Forums Now Ads Free! - No More annoying Ads on AstaHost Forums
Space Tools - Can any gases be used.
Ever Needs To Find Out A Table Height Or With With JavaScript - Well stop looking, here is the answer (CSS and JS)
Space Rangers (1/2)
Space Exploration (nasa= Good/bad)
Worst "trojan" Ever And It Takes Over Iexplore - Horribly annoying pop-ups
My Theory Of Betting - what can make you stop?
Google Webspace - Google Web Space
Bad_pool_header - Blue screen Win Xp stop
Stop AUTO_INCREMENT From Jumping
Meta Tags - To Stop Spiders
Stop anything from making it ur homepage!
advertisement




IE And It's Annoying NBSP (Non-Breakable Space) - How to stop it



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE