Hi,
Thank you for the additional clarification, I see what the issue is now. It appears that the values were hardcoded in the Web part. Even if I delete the values and set my own style, the hard-coded values are used. You could correct this by modifying the Web part:
~\CMSWebParts\Viewers\Effects\ContentSlider.ascx.cs
#region "Div properties"
/// <summary>
/// Gets or sets the DIV element width.
/// </summary>
public int DivWidth
{
get
{
return ValidationHelper.GetInteger(GetValue("DivWidth"), 400);
}
set
{
SetValue("DivWidth", value);
}
}
/// <summary>
/// Gets or sets the DIV element height.
/// </summary>
public int DivHeight
{
get
{
return ValidationHelper.GetInteger(GetValue("DivHeight"), 300);
}
set
{
SetValue("DivHeight", value);
}
}
/// <summary>
/// Gets or sets the DIV element style.
/// </summary>
public string DivStyle
{
get
{
return ValidationHelper.GetString(GetValue("DivStyle"), "");
}
set
{
SetValue("DivStyle", value);
}
}
/// <summary>
/// Style options.
/// </summary>
private string StyleOptions
{
get
{
return mStyleOptions ?? (mStyleOptions = "width: " + DivWidth + "px; height: " + DivHeight + "px; overflow: hidden; position: relative; left: 0px;");
}
}
#endregion
Adjusting these values should be a functional workaround but I will discuss this with the developers and see if there is anything else that should be done for the Web part to work as expected.
Regards,
Sandro