Hi Carsten,

you might also want to try with:

display:block;
overflow:hidden;

and play around some more with this...

regards,

Martin

On 8/8/07, Carsten Pieper <[EMAIL PROTECTED]> wrote:
>
> Thanks Martin,
>
> yes, clipping helps in a way, but things really seem to become complicated
> then.
> Clipping plus absolute positioning (which seems to be required by "clip" to
> work)
> and then, for some reason, I had to fiddle with the margins, too, which
> leads to this
> (still everything done directly in the inlineStyle/contentStyle attributes,
> not yet
> in the CSS file):
>
> inlineStyle="margin-right: 55px;" // this part only for Firefox...
> contentStyle="width: 50px; position: absolute; margin-top: -2px;
> clip:rect(0px, 50px, 20px, 0px)"
>
> I wonder, if that really is the way to go? Well, probably it is... :-|
>
> Cheers, Carsten
>
>
> Martin Marinschek wrote:
> >
> > Hi Carsten,
> >
> > you'd have to play a bit more with CSS there. What you'd really want
> > is something like clipping enabled for the core tag of the
> > readOnly-inputText.
> >
> > http://de.selfhtml.org/css/eigenschaften/positionierung.htm#clip
> >
> > regards,
> >
> > Martin
> >
> > ...
> >
>
> --
> View this message in context: 
> http://www.nabble.com/-Trinidad--inputText-with-readOnly%3D%22true%22-and-limited-width-shows-strange-behaviour-tf4234891.html#a12052193
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to