I am using 1.1.0, but I just read on the Jira that someone is trying to fix this. See issue 691: http://issues.apache.org/jira/browse/MYFACES-691?page=comments#action_12332191

He/She has submitted a patch, and I am very anxious to hear when this feature gets into the release versions.

Randahl


Martin Marinschek wrote:
Which version do you use?

I think I do remember me fixing this problem a while ago ;)

regards,

Martin

On 10/10/05, Randahl Fink Isaksen <[EMAIL PROTECTED]> wrote:
  
Is it really not possible to style the <li> elements generated by the
<t:dataList>? If I set the styleClass attribute I only get a class
attribute on the generated <ul> elements - NOT the generated <li>
elements. It looks something like

<ul class="myCssClass">
  <li>Some content</li>
</ul>

But what I want is

<ul class="myCssClass">
  <li class="myCssClass">Some content</li>
</ul>


The reason why I need this is the fact that different browsers have
different default margins and default paddings for the <li> element, so
if I do not explicitly specify which margin or padding I want for the
<li> element, I will get different looks on different browsers. For
instance, by default Mozilla Firefox adds a lot more space between <li>
elements than Opera.

Are there any work-arounds to this problem?

Thanks

Randahl



    


--

http://www.irian.at
Your JSF powerhouse -
JSF Trainings in English and German


  

Reply via email to