Customer Support Portal
Language
 
Home>Knowledge Base>Root>Dotnetnuke Modules>Content Rotator>How to remove the white space around rotator items
User Login
Username
Password
 
 Login
Information
Article ID33
Created On10/21/2010
Modified10/21/2010
Share With Others

How to remove the white space around rotator items

The DNN editor automatically ads a paragraph tag "<p></p>" around your item.  A paragraph normally has a marging around it which is why you see a white space. To counter this you can simply define a margin of 0 for paragraph tags in the rotator. for example:
.Rotator_Elegant .items p
{
    margin: 0;
}

You can add this to your page's skin css file or to the rotator css file. Please read the following article regarding the best way to edit/create a skin for the rotator module.