You are here: Re: Wrap long URL in table « HTML « IT news, forums, messages
Re: Wrap long URL in table

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация