tube-builder
tube-builder

Reputation: 706

ASP.NET Dropdownlist expands past the screen

The issue is explained here, totally my case. Any ideas?

Thanks!

Upvotes: 0

Views: 543

Answers (2)

James Johnson
James Johnson

Reputation: 46077

I'm not positive about this, but you should be able to specify a CSS style for list options.

option {
    word-wrap:break-word;
    width:200px;        
}

Like Matt said, you can also use overflow:hidden to truncate anything past a certain point.

Upvotes: 1

Matt
Matt

Reputation: 2098

Apply a CSS class using overflow:hidden

Upvotes: 1

Related Questions