> I have this test page up:http://btk.name/misc/links.html
>
> Basically, I am using Jquery and a Cycle plugin to allow the user to
> paginate via links through content. Simple enough.
>
> However, as you can see (at least in Firefox 3), the DOM generated
> links (via the plugin) keep going in 1 line outside the container.
>
> The links hardcoded into the actual HTML adhere to their container.


The differences you see have to do with whitespace.  If you remove all
the whitespace from your hard-coded examples you will see that all
three examples behave exactly the same.  For WebKit browsers you can
use the style of "word-wrap: break-word" to achieve the desired
results.  Other browsers rely on the presence of whitespace to
determine the line breaks.

Mike

Reply via email to