C
craigkenisston
Hi,
I have a datalist that displays a list of URL.
I have the datalist inside a div with a width of 300px.
Some of this URLs are too long and exceed the 300px causing the
datalist to stretching up to 400 or 500 causing a mess in my page. I'd
rather prefer them to look trimmed or wrapped but not to causing the
datalist width to grow.
I tried several techniques with no luck. I put a span surrounding the
linkbutton, also a div, both with a widht of 280px. Also even tried to
create another table cell by placing additional TDs in the item
template. None of this can keep the datalist in the fixed width I want.
Any help is greatly appreciated.
I have a datalist that displays a list of URL.
I have the datalist inside a div with a width of 300px.
Some of this URLs are too long and exceed the 300px causing the
datalist to stretching up to 400 or 500 causing a mess in my page. I'd
rather prefer them to look trimmed or wrapped but not to causing the
datalist width to grow.
I tried several techniques with no luck. I put a span surrounding the
linkbutton, also a div, both with a widht of 280px. Also even tried to
create another table cell by placing additional TDs in the item
template. None of this can keep the datalist in the fixed width I want.
Any help is greatly appreciated.