Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
長いテキストを内側に折り返すことはできますか?
<select><option value="1">A very long text that needs to be wrapped</option></select>
未テスト..しかし、そのオプションにIDを割り当ててみることができます。
<option id="longtext" value="1">
そしてcssで次のようなものを試してください
#longtext { width: 50%; }
また
#longtext { width: 200px; }
#longtext { width: 300px; height: 200px; }