Posted by Jim Moe on 09/21/06 19:01
Scott Gordo wrote:
> I have an .aspx page that's pulling content from a SQL db.
> Sometimes users add long urls into a table/cell 400px wide. (Today's
> example was
> http://newyork.yankees.mlb.com/NASApp/mlb/nyy/ticketing/seating_pricing.jsp)
> This spreads the layout and messes up the spacing.
> I would tell the users to change their habits (insert text "click here"
> and assign the url to it) but it ain't gonna happen. I'm looking for a
> way to get the URL to wrap within the table.
> Any recommendations?
>
Do not use the URL as the displayed text. Pick something more meaningful
and contextually pertinent, like "Yankess Seating Pricing", and put the
URL in the <a> where it belongs.
But since that "ain't gonna happen" (your visitors are highly
inflexible) you are stuck with a deformed layout.
Or you can add arbitrary spaces to the URL every nth character but then
the URL text cannot be copied/pasted.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Navigation:
[Reply to this message]
|