By default CellList items rendered as column. I want to add float:Left
style to each item. I want them to display as a row. But every my
element in CellList is wrapped by CellList div. So I want to
customize that div style template. Is it possible?
I found in CellList.class sources interface :
Override the CellList styles (pass an overridden CellList.Resource to the
constructor) to add the appropriate CSS properties to cellListEvenItem and
cellListOddItem.
I'd recommend using display:inline-block instead of float:left though; have
a look at the
or just use CommonResources.getInlineBlockStyle();
Out of curiosity, why do you recommend display:inline-block instead of
float:left?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
On Friday, March 25, 2011 4:22:06 PM UTC+1, Jeff Larsen wrote:
Out of curiosity, why do you recommend display:inline-block instead of
float:left?
Compare the first 2 screenshots in
http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/
--
You received this message because
Thanks it works now. I'm happy.
On 25 мар, 18:07, Thomas Broyer t.bro...@gmail.com wrote:
Override the CellList styles (pass an overridden CellList.Resource to the
constructor) to add the appropriate CSS properties to cellListEvenItem and
cellListOddItem.
I'd recommend using