Sent by Marshall Roch on 20 August 2004 15:03
This is a cryptographically signed message in MIME format.
--===============67001527208273381==
content-type: multipart/signed; protocol="application/x-pkcs7-signature";
micalg="sha1"; boundary="------------ms000100090006000206060908"
This is a cryptographically signed message in MIME format.
--------------ms000100090006000206060908
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Bob Easton wrote:
> Marshall Roch wrote:
>> I have a div with a right-aligned, long URL in it that I'm trying to
>> get to overflow out the left side of the box, rather than the right.
>> I'm guessing there's some combination of overflow and clip that I
>> need, but I can't make it work.
>
> It's virtually impossible to debug something like this without seeing an
> example. Can you post a page for us to look at?
I don't really have a page because I can't make anything work. I just
want a div with a very long non-breaking word/URL in it to get cut off
from the left side (overflow: hidden works fine to cut off the right).
Here's what I'm up to:
You've probably seen forums, etc. that truncate long URLs like
http://www.example.com/truncate/this/url/so/that/it/fits/in/the/window/
to http://www.example.com/trunca...n/the/window/.
I have a div containing only a URL that is sometimes too wide to fit in
the layout. I want to use JS to duplicate the the div, and then overlap
them so that one is left aligned and the other is right aligned and they
truncate the URL in the middle. Of course, I could do this server-side,
but I want it to be fluid-width so the URL expands to fit the box.
--
Marshall Roch
--------------ms000100090006000206060908--
--===============67001527208273381==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
--===============67001527208273381==--