Is it ok to use <nobr> in XHTML ?

Posted on 2009-04-24
Last Modified: 2013-11-19
Will <nobr> be with us for years to come or should I avoid it in XHTML for fear it may be deprecated in future browsers?
Question by:hankknight
    LVL 14

    Accepted Solution

    Here's a couple of sites that say it isn't definied in xhtml, but there's a small css alternative
    LVL 39

    Assisted Solution

    I second that, and can say for sure: no, it is not ok to do so, as there is no such thing in XHTML. You can use several other techniques to reach the same effect (overflow CSS property, replace spaces with &_nbsp;, use style nowrap is not supported in IE if I remember).

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    website file permissions 4 43
    Google adds suggestions 3 43
    ASP.NET ReportViewer from WebMethod. 14 147
    File names with & character 6 48
    Preface In the first article: A Better Website Login System ( I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
    It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now