This is a migrated thread and some comments may be shown as answers.

Less Space Between Tag Cloud Items

1 Answer 25 Views
TagCloud
This is a migrated thread and some comments may be shown as answers.
Eugene Krivenko
Top achievements
Rank 1
Eugene Krivenko asked on 18 Feb 2011, 12:13 AM
Is there anyway I can make the space between each tag cloud item smaller? When I try to do it in CSS by modifying the 'RadTagCloud .rtcTagList .rtcTagItem' css element, it doesnt seem to be working.

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 18 Feb 2011, 04:16 PM
Hello Eugene,

The following CSS will remove any padding on the TagCloud items:
<style type="text/css">
    .RadTagCloud .rtcTagList .rtcTagItem
    {
        padding: 0px !important;
    }
    .RadTagCloud .rtcTagList .rtcTagItem a
    {
        padding: 0px !important;
    }
</style>

You should change the padding to the desired value, just make sure you apply the !important flag to be sure that your CSS gets applied.

Kind regards,
Pero
the Telerik team
Tags
TagCloud
Asked by
Eugene Krivenko
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or