style dnnLanguage component
Last Post 09/11/2007 5:01 AM by Kriz Van Looy. 0 Replies.
Author Messages
Kriz Van Looy
Nuke Ace
Nuke Ace
Posts:41


--
09/11/2007 5:01 AM
    I need to style the dnnLanguage component.

    I want to get rid of the standard yellow background color in the dropdownbox.

    I tried this using css, I adapted the CssClass of the language control in the admin/Skins/language.ascx file and I created a style with the same name in my skin.css file.

    The result of all this is that I can adapt everything but the background - color.

    My language.ascx file:
    <%@ Control language="vb" AutoEventWireup="false" Explicit="True"         Inherits="DotNetNuke.UI.Skins.Controls.Language" CodeFile="Language.ascx.vb" %>
    <asp:dropdownlist id="selectCulture" runat="server" AutoPostBack="true" CssClass="dnnTaalKiezer"> 

    style in skin.css:
    .dnnTaalKiezer
    {
        font-weight:        bold;
        font-size:            90%;
        margin:                10 0 0 0;
    }

    Can anyone tell me why I can't adapt the background - color in the dropdownbox this way?
    Or is there any other way to adapt this background - color?

    thanks in advance






    ---