Results 1 to 2 of 2

Thread: What is "<![if !supportEmptyParas]>&nbsp;<![endif]>"?

  1. #1
    Join Date
    Jan 2003

    What is "<![if !supportEmptyParas]>&nbsp;<![endif]>"?

    I'm a publisher for an Intranet site that already existed before I got here. I've been running across the following code on some of the documents I'm working on, and was wondering if anyone could explaining it to me. The code is:

    <![if !supportEmptyParas]>& n b s p ;<![endif]>

    (I added the spaces in the non-breaking space so that it would show up right.) I've got one page that must have it several hundred times. Is that XML? Does it do anything? I'm finding that a lot of people here use the "Save As a Web Page" from various MS Office products, and it throws in a lot of junk code that I've been cleaning out. Could this be more auto-generated junk code? Thanks for any input you have on this!
    Last edited by Lisae; 04-14-2004 at 09:57 AM.

  2. #2
    Join Date
    Nov 2002
    Dartmoor [Holiday]
    That looks like an IE conditional comment. It basically prevents IE 5 or 6 from rendering the &amp;nbsp; if they permit empty paragraphs to be rendered. It's not standards compliant, but then the Save As "Web Page" feature doesn't worry about things like standards anyway.

    "If youíre not using valid HTML, then you havenít created a Web page. You may have created something else, but it isnít a Web page." - Joe Clark

    Do something amazing (USA) | Make Poverty History

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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