[wdvltalk] Re: non-breaking hyphenated words
No, not for a single word, but for the whole line it does. AuntySpam, SLP Coordinator, pspug.org http://www.pspug.org/edu/edu.shtml http://www.pspug.org/edu/slp/assign.shtml http://www.pspug.org/edu/slp/slpparticipants.htm Original Message From: rudy To: [EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 6:14 AM Subject: [wdvltalk] Re: non-breaking hyphenated words : : p Some pasragraph text that is supposed to : : wrap and a word like : : div nowrapX-Windows/div that you don't : : want to have a line break inside/p : : : : And that works, does it? : : no, of course it wouldn't : : SPAN might, though;o) : : : rudy : : . The WDVL Discussion List from WDVL.COM . : To Join wdvltalk, Send An Email To: : mailto:[EMAIL PROTECTED] :Send Your Posts To: [EMAIL PROTECTED] : To set a personal password send an email to : [EMAIL PROTECTED] with the words: set WDVLTALK : pw=yourpassword in the body of the email. : To change subscription settings to the wdvltalk digest version: : http://wdvl.internet.com/WDVL/Forum/#sub : : http://www.wdvl.com ___ : : You are currently subscribed to wdvltalk as: : [EMAIL PROTECTED] : To unsubscribe send a blank email to : %%email.unsub%% : : To unsubscribe via postal mail, please contact us at: : Jupitermedia Corp. : Attn: Discussion List Management : 475 Park Avenue South : New York, NY 10016 : : Please include the email address which you have been contacted : with. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: non-breaking hyphenated words
Apparently I misunderstood what the original poster wanted to do. Now I'm eager to find out what does work for a single word. AuntySpam, SLP Coordinator, pspug.org http://www.pspug.org/edu/edu.shtml http://www.pspug.org/edu/slp/assign.shtml http://www.pspug.org/edu/slp/slpparticipants.htm - Original Message - From: Brewnetty (AuntySpam) To: [EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 8:27 AM Subject: [wdvltalk] Re: non-breaking hyphenated words No, not for a single word, but for the whole line it does. AuntySpam, SLP Coordinator, pspug.org http://www.pspug.org/edu/edu.shtml http://www.pspug.org/edu/slp/assign.shtml http://www.pspug.org/edu/slp/slpparticipants.htm The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: non-breaking hyphenated words
- Original Message - From: Franni Vincent If you have a word which is hypenated - in this case the i-Zone brand name from Polaroid, is their any way of preventing a linebreak occuring at the hyphen when it occurs in blocks of text? NOBR.../NOBR is no break - to keep any block of text together, enclose in nobr tags, byt specifically nobri-Zone/nobr Bj The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: non-breaking hyphenated words
- Original Message - From: Franni Vincent If you have a word which is hypenated - in this case the i-Zone brand name from Polaroid, is their any way of preventing a linebreak occuring at the hyphen when it occurs in blocks of text? NOBR.../NOBR is no break - to keep any block of text together, enclose in nobr tags, byt specifically nobri-Zone/nobr Bj Doh - obvious when you think about it... Launching several virtual beers your way, Bj - yet another annotation penciled into the HTML bible's index! many thanks Franni -- Mediation Technology ... mTank http://www.mediation.co.uk http://www.mtank.com Check out our View from the Fen for a Cambridge perspective on key issues in the digital world http://www.mediation.co.uk/viewcontent.html The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] RE: non-breaking hyphenated words
Have you tried using ASCII encoding for the hyphen? I know that if you use %20 for a space it won't break. You could also try using css. .nobreak { white-space: nowrap; } Not sure about browser support though. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: Franni Vincent If you have a word which is hypenated - in this case the i-Zone brand name from Polaroid, is their any way of preventing a linebreak occuring at the hyphen when it occurs in blocks of text? NOWRAPi-Zone /NOWRAP which I know works in table cells doesn't seem to have any effect when used in a block of text. A small detail in amongst everything I'm trying to sort out to have WHSmith Book Awards voting system go live for testing 9a.m tomorrow, but a frustrating one which the sponsor is bound to pick up on if I don't find the answer... I have several more white hairs this year than last, I'm sure it's due to working with the goose-manure colour scheme.. sigh I'm supposed to be down in London drinking beer today, not sweating over this. Life is NOT Fair.. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: non-breaking hyphenated words
nobr isn't standards compliant but rather a browser implemented tag. Most browsers honor it but see http://www.wdvl.com/Authoring/HTML/Tutorial/positioning_text_notes.html which gives the following example: 3. NOBR : A browser specific attribute. W3C The Standard is nowrap which has been deprecated When present, this boolean attribute tells visual user agents to disable automatic text wrapping for this cell. Style sheets should be used instead of this attribute (e.g., the white-space attribute of [CSS1] . Note: if used carelessly, this attribute may result in excessively wide cells. Deprecated Example: NOWRAPThis is text that will not stop even when the browser wants to word wrap/NOWRAP CSS Example: P { white-space: nowrap } Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: Franni Vincent quoting BJ If you have a word which is hypenated - in this case the i-Zone brand name from Polaroid, is their any way of preventing a linebreak occuring at the hyphen when it occurs in blocks of text? NOBR.../NOBR is no break - to keep any block of text together, enclose in nobr tags, byt specifically nobri-Zone/nobr Bj Doh - obvious when you think about it... Launching several virtual beers your way, Bj - yet another annotation penciled into the HTML bible's index! The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: non-breaking hyphenated words
- Original Message - From: Cheryl D. Wise nobr isn't standards compliant but rather a browser implemented tag. Most browsers honor it... ... 3. NOBR : A browser specific attribute. W3C The Standard is nowrap which has been deprecated The two are quite different. nobr does not stop text wrapping, just stops the enclosed piece of text from breaking - the text will still wrap, but the line will break before or after, but no inside, the enclosed text. So nobr is good for enclosing something like a brand name or even a date: blah blah blah nobr12-Dec-2003/nobr blah ...would stop line wrapping inside the date If you know of a browser (with more than a 1% market share) that doesn't honor nobr please tell me as I rely on it quite a bit whenever necessary. Bj The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: non-breaking hyphenated words
I agree that they are different that's why I put the comment in as a quote. I don't know of any current browsers that don't honor it. From the one chart I saw basically all browsers post NN 3 and IE 4 will honor it but the chart I saw was out of date (on Netscape's Developers site) so I don't know about Mozilla/Firebird, Opera 7 or any Linux browsers. I just thought I'd pass along that it doesn't validate in case anyone was concerned about validation. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: Bj The two are quite different. nobr does not stop text wrapping, just stops the enclosed piece of text from breaking - the text will still wrap, but the line will break before or after, but no inside, the enclosed text. So nobr is good for enclosing something like a brand name or even a date: blah blah blah nobr12-Dec-2003/nobr blah ...would stop line wrapping inside the date If you know of a browser (with more than a 1% market share) that doesn't honor nobr please tell me as I rely on it quite a bit whenever necessary. The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: non-breaking hyphenated words
- Original Message - From: Cheryl D. Wise I just thought I'd pass along that it doesn't validate in case anyone was concerned about validation. Thanks for that Cheryl - having done some Googling, there is a real and serious problem with browsers like IE splitting lines at unintended places - after any of - % ° · ) ] } » or before any of ( [ { «, and nobr is the only working solution. There is currently no standards-compliant method of preventing a break in a word in normal text, although the CSS whitespace:nowrap works for some characters including the hyphen ininside blocks. It's possible to make a page including nobr tags validate by modifying the DTD but it'll never count as HTML 4 compliant. What we really need is a nbhy; character for non breaking hyphen the way we have nbsp; for spaces that must be preserved - you can insert a non-breaking hyphen in MS Word so why not in HTML? Oh one good reason, nobody thought of it before, so it won't work in any existing browser... :-/ Hey here's a great idea, since there is nothing else that does the same job and nobr works fine, why on Earth can't it be added to the standard? Bj The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
[wdvltalk] Re: non-breaking hyphenated words
Because that would make sense? Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED] 713.353.0139 Office -Original Message- From: Bj Hey here's a great idea, since there is nothing else that does the same job and nobr works fine, why on Earth can't it be added to the standard? The WDVL Discussion List from WDVL.COM To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: set WDVLTALK pw=yourpassword in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub http://www.wdvl.com ___ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.