Thanks, auto:margin works (I don't know why, because semantics are described differently (in SelfHtml): for right-justified alignment of block elements), but only in Internet Explorer (I use version 6); but relevant is the styleClass attribute in the panelGrid tag, and not the columnClasses (in columnClasses, auto:margin doesn't work, and text-align:center places the scroller elements not really in the center, but between the left border an the center, on my screen).
-------- Regards, Matthias > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag > von Martin Marinschek > Gesendet: Donnerstag, 3. November 2005 17:14 > An: MyFaces Discussion > Betreff: Re: MyFaces 1.1.1 - how to center the dataScroller component? > > > have you tried margin:auto? > > regards, > > Martin > > On 11/3/05, Matthias Kahlau <[EMAIL PROTECTED]> wrote: > > Hi all! > > > > > > Does anybody know how I can configure the dataScroller, so that it's > > centered in the page? > > I've tried to use text-align:center on many different available CSS > > attributes of the dataScroller tag, > > the contained elements or the surrounding panelGrid tag, but the > > dataScroller elements just stays on the left side. > > > > Centering the dataScroller component should be possible, as you > can see on > > the following website: > > http://www.irian.at/myfaces/dataScroller.jsf > > > > > > Regards, > > Matthias > > > > > > > -- > > http://www.irian.at > Your JSF powerhouse - > JSF Trainings in English and German

