Issue 23 Linking Css files
Last Post 08/22/2007 9:56 AM by Lee Sykes. 1 Replies.
Author Messages
lynn
Nuke Master
Nuke Master
Posts:276


--
08/21/2007 6:53 PM
    Hi Lee

    Re: Issue 23 (Andreas-09 Skin)

    Withing your skin folder you have a number of css files html files using the same name.  I assume that red.html uses the css styles from skin.css file and also red.css which contains specific css styles.

    How have you linked skin.css and red.css to red.html without using javascript or @import.

    Or can I presume that the various html files will automatically use the associated css files without need to link them or what?

    Thanks

    Lynn
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    08/22/2007 9:56 AM
    Hi Lynn,

    You are correct, the red.html file calls the CSS styles first of all from the skin.CSS file and then from the red.CSS file.

    You do not need to enter any additional programming to achieve this, DotNetNuke automatically looks for a CSS file that uses the same name as the HTML file.

    So, this enables you to have an overall styling in the skin.CSS file and specific styles in the skin_name.CSS file

    Thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile


    ---