ATM Posted June 14, 2007 Share Posted June 14, 2007 Hello,I have have a div; <div style="overflow:auto;"></div>When I have some text that overflows the div and has a hyphen (-) in it Internet Explorer starts a new line.for exampleif the text was: 'Hello-Dave' and it overflowed IE would show'Hello-Dave'Anyone know how to solve this?Thank you. Link to comment Share on other sites More sharing options...
thesi Posted June 14, 2007 Share Posted June 14, 2007 It isn't supported by validators but you can use the <nobr></nobr> tags. Basically makes it so it will not break between those tags and instead will give you a horizontal scroll bar. Link to comment Share on other sites More sharing options...
System Posted June 15, 2007 Share Posted June 15, 2007 Ee-gad, thought I had an intelligent answer, let me do some more thinking lol.System Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.