Re: Line breaks and label

2010-07-22 Thread Nii Amon Dsane
Hi Martijn, many thanks for the response. The linebreaks are not being applied on whitespaces. I am using spans with wicket:id to write out some strings in my markup. The strings are displayed alright but I notice that the linebreaks are applied before and after the string. For instance, I have

Re: Line breaks and label

2010-07-22 Thread Nii Amon Dsane
Hi Witold, I must be doing something very wrong because the CSS doesn't work on any tag that has wicket:id! I checked the Pro Wicket book and apparently if you put your CSS files into the head of the markup file, the styles are going to apply. In my case the styles apply to all tags which do not

Re: Line breaks and label

2010-07-22 Thread Nii Amon Dsane
Hi Witold, I noticed something. When I was using tags to embed strings in to the markup, the CSS wasn't applied but when I tried it with a div the styles were applied. Is this expected behaviour? nii amon -- View this message in context:

Line breaks and label

2010-07-21 Thread Nii Amon Dsane
Hello, I have a label that's displayed on a page. The label displays but with a linebreak and this breaks the sentence that I am writing. How do I get rid of the line break after the label? My code is below (the problematic label is svcName): List list = getServices(); ListView listview = new