Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
alignment of items
seshusatya
hi,
Iam getting problem in arranging items.
If there are 11 checkboxes .And if first rowcontains 4 checkboxes
1 1 1 1
1 1 1 1
1 1 1 ## then the alignment for last row fails.
Other related examples like if there are 10 element and if first row contains
3 elements then:-
1 1 1
1 1 1
1 1 1
1 ## then the alignment for last row fails.
These checkboxes are getting generated into the DCT from an .ipl file.
Can any one guide me regarding this?
thanks in advance,
regards,
chakri
Find more posts tagged with
Comments
Adam Stoller
As I recall - the only way to force newlines within a set of checkboxes is to encode a line break (<br />) into one of the labels - I don't remember if it was with the literal (<br />) or with the entitized (<br />
- but I'm pretty sure it works.
Since you're programmatically generating the list - you should be able to programmatically insert the line break where you want it.
However - the location is 'static' in that if you widen or narrow the window - the line breaks remain where they are and the rest of the line will wrap (or not-wrap) as per the constraints of the window width.
kaalraa
What i think it is better to use hidden fields in place of empty checkboxes or radio buttons. As per my experience it automatically divides the space into number of frames as per the first row and continues with the same number of cols till that item ends up.
I hope it works for you as well but still its not confirmed.