not valid xhtml
Last Post 06/16/2007 4:42 AM by lynn. 2 Replies.
Author Messages
lynn
Nuke Master
Nuke Master
Posts:276


--
06/13/2007 10:21 AM
    Hi Lee

    I have been following your tutorials regarding xhtml validation, I have some code that I don't seem to be able to validate.

    In my skin I have set my pane to automatically load a specific container e.g. (code enclosed in <> )

    div runat="server" id="topline"  class="top_text" containertype="G" containername="transparent" containersrc="transparent_no_title.ascx" /


    I keep seeing the following validation errors (errors underlined):

    there is no attribute "containertype"  ( containertype="G" )

    there is no attribute "containername" (
    containername="t )

    there is no attribute "containersrc"
       (containersrc=")

    Any suggestions how I might resolve this issue, I have searched DNN forums etc., but so far not found any relevant answers.

    Thanks

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


    --
    06/15/2007 3:37 AM
    Hi Lynn,

    I think it's because those elements are directly in the html source code and they are not standard attributes for the div tag. - If you remove them the errors will stop (test it to make sure), but that won't help you with your skin design eh?!

    Don't know what to suggest apart from investigating another method of implemeting your skin design that doesn't rely on placing the attributes directly in the div tag.

    Thanks,

    Lee
    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
    lynn
    Nuke Master
    Nuke Master
    Posts:276


    --
    06/16/2007 4:42 AM
    Hi Lee

    I suppose I could remove them from my skin and just manually insert a specific container, but it is so time consuming. I will have a search and let you know what I come up with.

    Thanks

    Lynn


    ---