It works everywhere else (FF, Opera, Safari), but IE7 seems to not
like the "?" in a url, and wraps it within a table cell.

Markup is a cell in a table like this:

<td class="pan"><a href="foo.com?long_url=here">foo.com?long_url=here</a></td>

CSS is:

td.pan { overflow: hidden; width: 12em; }
td.pan > *:first-child { display: block; overflow: hidden; width: 12em; }

So when the URL is extremely long, it wraps at the "?" in the
query_string. I tried replacing with something else "x" and it no
longer wraps. So I tried entity encoding the question mark as "&#60;"
but it still wrapped instead of hiding the portion of the URL past
12ems.

I also tried { white-space: nowrap; } on the td CSS rule, but that
didn't do it either...again this is only IE7.

-- 
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name

@pets = Pets.find_all_by_species('dog')
@pets.each do |dog| {
    if dog.name == 'Farley'
        dog.nick = 'Sir Barks-A-lot'
    elsif dog.name == 'Bonita'
        dog.nick = 'Princess Boo'
    else
        dog.nick = 'Doggie?'
    end
}
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to