Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: <wbr /> won't validate

Reply
Thread Tools

Re: <wbr /> won't validate

 
 
Richard Barnet
Guest
Posts: n/a
 
      07-24-2003
"Darin McGrew" <> wrote in message
news:bfpj3m$2qb$...
>
> No public spec (HTML or XHTML) includes the WBR element.
>
> In theory, browsers are supposed to wrap text only at whitespace.

Thus, the
> non-breaking space (&nbsp is all that is needed.
>
> In practice, browsers wrap text elsewhere, and controlling text

wrapping
> becomes more complex.


Having tested it, I'm sad to say that only Mozilla and IE support this
tag, but Opera doesn't. (I mean, HOORAY for sticking to the specs!)
=)

I'm not trying to change the way whitespace is used, I'm trying to allow
browsers to break at syllables in the middle of long words. It's an
accessibility thing with largefonts.

My menus get really ugly with huge fonts and tight places when the words
won't break. When I added "ac<wbr />ces<wbr />si<wbr />bil<wbr />ity"
to the menu, it will look fine with all font sizes, even when a user
uses huge fonts.

I'm just wondering now if I should scrap the validation stuff in favor
of accessibility. Hmmm.

-- Richard


 
Reply With Quote
 
 
 
 
William Tasso
Guest
Posts: n/a
 
      07-24-2003
Richard Barnet wrote:
>
> I'm just wondering now if I should scrap the validation stuff in favor
> of accessibility. Hmmm.
>


that road lies madness - you will never know if invalid markup is accessible
to your visitors. take a step back and see if there's any simple changes
you can make to the design that will accommodate your needs.

--
William Tasso - http://www.WilliamTasso.com


 
Reply With Quote
 
 
 
 
Nick Theodorakis
Guest
Posts: n/a
 
      07-25-2003
On Thu, 24 Jul 2003 15:46:17 -0700, "Richard Barnet"
<> wrote:


>My menus get really ugly with huge fonts and tight places when the words
>won't break. When I added "ac<wbr />ces<wbr />si<wbr />bil<wbr />ity"
>to the menu, it will look fine with all font sizes, even when a user
>uses huge fonts.


Jukka has a nice page on this problem of word breaks:

<http://www.cs.tut.fi/~jkorpela/html/nobr.html#suggest>

Nick

--
Nick Theodorakis

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie, unable to validate with genuine windows XP Pro? =?Utf-8?B?SWdvciBRdWFzaW1vZG8=?= Microsoft Certification 0 11-05-2005 08:17 PM
Validate SessionID Shankar Reddy ASP .Net 3 09-25-2004 05:59 AM
can i validate the presence of .Net framework in the OS a_srivathsan ASP .Net 2 09-08-2004 03:56 AM
Re: How could I validate a MCSE certificate? Andy Foster MCSE 0 07-02-2003 03:03 PM
Re: How could I validate a MCSE certificate? Dandy WEYN MCSE 0 07-02-2003 11:35 AM



Advertisments