473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to protect against long urls and keep them from disrupting a page

Everyone please go look at this page, please:

http://www.crookedtimber.org/archives/000977.html
In Netscape, there is a long url that runs right off the page,
rightward. In my own comment system, I've run into this trouble
before. In IE, it is worse, as IE expands the box the url is in, so
that the box continue to contain the url. On my own site, this once
caused my main content to get covered by the box holding the comments.

What are some strategies that smart programmers use to combat this
problem? I've thought about possible solutions, like using regular
expressions somehow, but I can't think of a strategy that will
reliably capture all possibilities.

Any ideas?
Jul 17 '05 #1
6 1787
lk******@geocities.com (lawrence) wrote in message
news:<da**************************@posting.google. com>...

Everyone please go look at this page, please:

http://www.crookedtimber.org/archives/000977.html

In Netscape, there is a long url that runs right off the page,
rightward. In my own comment system, I've run into this trouble
before. In IE, it is worse, as IE expands the box the url is in, so
that the box continue to contain the url. On my own site, this once
caused my main content to get covered by the box holding the comments.

What are some strategies that smart programmers use to combat this
problem?


Use tables rather than divs?

Cheers,
NC
Jul 17 '05 #2
With total disregard for any kind of safety measures nc@iname.com
(Nikolai Chuvakhin) leapt forth and uttered:
lk******@geocities.com (lawrence) wrote in message
news:<da**************************@posting.google. com>...

Everyone please go look at this page, please:

http://www.crookedtimber.org/archives/000977.html

In Netscape, there is a long url that runs right off the page,
rightward. In my own comment system, I've run into this trouble
before. In IE, it is worse, as IE expands the box the url is
in, so that the box continue to contain the url. On my own
site, this once caused my main content to get covered by the
box holding the comments.

What are some strategies that smart programmers use to combat
this problem?


Use tables rather than divs?

Cheers,
NC


Good plan! Then the *entire* page can be distorted!

--
There is no signature.....
Jul 17 '05 #3
On Sat, 13 Dec 2003 17:48:05 -0600, Phil Roberts
<ph*****@HOLYflatnetSHIT.net> wrote:
With total disregard for any kind of safety measures nc@iname.com
(Nikolai Chuvakhin) leapt forth and uttered:
lk******@geocities.com (lawrence) wrote in message
news:<da**************************@posting.google. com>...

Everyone please go look at this page, please:

http://www.crookedtimber.org/archives/000977.html

In Netscape, there is a long url that runs right off the page,
rightward. In my own comment system, I've run into this trouble
before. In IE, it is worse, as IE expands the box the url is
in, so that the box continue to contain the url. On my own
site, this once caused my main content to get covered by the
box holding the comments.

What are some strategies that smart programmers use to combat
this problem?


Use tables rather than divs?

Cheers,
NC


Good plan! Then the *entire* page can be distorted!


Tables work fine if you know how to use them. That's what I use in
multi-column sites.

Richard

Jul 17 '05 #4
Phil Roberts <ph*****@HOLYflatnetSHIT.net> wrote in message
news:<Xn*************************@206.127.4.22>...
With total disregard for any kind of safety measures nc@iname.com
(Nikolai Chuvakhin) leapt forth and uttered:
lk******@geocities.com (lawrence) wrote in message
news:<da**************************@posting.google. com>...

What are some strategies that smart programmers use to combat
this problem?


Use tables rather than divs?


Good plan! Then the *entire* page can be distorted!


Perhaps; but at least parts don't overlap...

Cheers,
NC
Jul 17 '05 #5
lk******@geocities.com (lawrence) wrote in message news:<da**************************@posting.google. com>...
Everyone please go look at this page, please:

http://www.crookedtimber.org/archives/000977.html
In Netscape, there is a long url that runs right off the page,
rightward. In my own comment system, I've run into this trouble
before. In IE, it is worse, as IE expands the box the url is in, so
that the box continue to contain the url. On my own site, this once
caused my main content to get covered by the box holding the comments.

What are some strategies that smart programmers use to combat this
problem? I've thought about possible solutions, like using regular
expressions somehow, but I can't think of a strategy that will
reliably capture all possibilities.

Any ideas?


1. http://in.php.net/wordwrap
2. Use something like
<a href="http://www.very-very-very-long-url.com/longestestestestestestestestestestestestestest.htm l">http://www.very-very...</a>
or
<a href="http://www.very-very-very-long-url.com/longestestestestestestestestestestestestestest.htm l">Short
description</a>

--
"The world is too dangerous to live in—not because of the people who
do evil, but because of the people who sit and let it happen." --
Albert Einstein
Email: rrjanbiah-at-Y!com
Jul 17 '05 #6
<OT>

Richard T. Cunningham <wa******@oasiscomm.net> wrote in message news:<sc********************************@4ax.com>. ..
On Sat, 13 Dec 2003 17:48:05 -0600, Phil Roberts
<ph*****@HOLYflatnetSHIT.net> wrote:
With total disregard for any kind of safety measures nc@iname.com
(Nikolai Chuvakhin) leapt forth and uttered:
lk******@geocities.com (lawrence) wrote in message
news:<da**************************@posting.google. com>...

Everyone please go look at this page, please:

http://www.crookedtimber.org/archives/000977.html

In Netscape, there is a long url that runs right off the page,
rightward. In my own comment system, I've run into this trouble
before. In IE, it is worse, as IE expands the box the url is
in, so that the box continue to contain the url. On my own
site, this once caused my main content to get covered by the
box holding the comments.

What are some strategies that smart programmers use to combat
this problem?

Use tables rather than divs?

Cheers,
NC


Good plan! Then the *entire* page can be distorted!


Tables work fine if you know how to use them. That's what I use in
multi-column sites.

I'm curious, how will you do it with table?

</OT>

--
http://www.fas.org/news/india/1998/05/0829059802.htm - P.A.Sangma's
great speach against nuke
Email: rrjanbiah-at-Y!com
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Erik Schulp | last post by:
Hi all, I am using a background image via a stylsheet. I've used this code: background-image:url("/images/tile.gif"); (which I think is correct) The image doesn't show up however, the path,...
11
by: siliconmike | last post by:
Is there a way to protect data files from access by root ? I have a data-centered website and would like to protect data piracy from any foot-loose hosting company employee. Any ideas? ...
15
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised...
7
by: Alan Silver | last post by:
Hello, Sorry this is a bit wordy, but it's a pretty simple question... I have a web site, http://domain/ which is a public site, part of which (http://domain/a/) is protected by forms...
0
by: Nixon | last post by:
Hi there, in my application i have the need to protect certain urls, urls that the user first must make a payment to view or invoke, e.g urls for downloading video clips. If a user hasnt paid i...
0
by: Bank of America | last post by:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta...
8
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How can I protect a webpage in javascript?...
17
by: kevgibbo | last post by:
Hi, I'm currently having a problem where a long URL or a line of text with no spaces will break the design of a webpage, http:// blog.seoptimise.com/2007/01/how-to-add-delicious-and-digg-blog-...
10
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I protect my javascript code? ----------------------------------------------------------------------- ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.