Thanks Matthias, > is that Firefox only ? good point! Indeed, my screenshots have been made from Firefox. In IE6 the behaviour is different: The text area grows as wide as the actual text i.e. the defined width (via contentStyle) is ignored. However, at a first glance that looks better than the texts exceeding the text area...
> try something like width: 90%; Er, in fear of missing a joke, where does that leave my desired width (50px in the example)? Best regards, Carsten Matthias Wessendorf-4 wrote: > > is that Firefox only ? > > try something like width: 90%; > > :-) > > On 8/8/07, Carsten Pieper <[EMAIL PROTECTED]> wrote: >> >> Hello everyone, >> >> is this a bug or am I missing something? The situation is as follows: >> >> <tr:inputText label="My short inputText" value="Hello inputText" >> contentStyle="width: 50px;" readOnly="true"> >> </tr:inputText> >> >> The text then exceeds the actual text area as shown in the screenshot >> (note >> that >> the read-only text area background is slightly darker than the rest...). >> >> http://www.nabble.com/file/p12049157/inputTextReadOnly.jpg >> >> If readOnly isn't set (or false), then everything is as expected as again >> shown in the screenshot (only 50 px of text are shown, but you can access >> the rest via mouse/keyboard): >> >> http://www.nabble.com/file/p12049157/inputText.jpg >> >> Any ideas? >> >> Thanks in advance, >> Carsten >> >> >> -- >> View this message in context: >> http://www.nabble.com/-Trinidad--inputText-with-readOnly%3D%22true%22-and-limited-width-shows-strange-behaviour-tf4234891.html#a12049157 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > mail: matzew-at-apache-dot-org > > -- View this message in context: http://www.nabble.com/-Trinidad--inputText-with-readOnly%3D%22true%22-and-limited-width-shows-strange-behaviour-tf4234891.html#a12055245 Sent from the MyFaces - Users mailing list archive at Nabble.com.

