Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinsIE9 design errorIE9 design error
Previous
 
Next
New Post
8/31/2012 4:44 AM
 

I am building a skin for a schools site.

The problem is that in internet explorer 9 I get the header div twice.

One time in the body tag and one in the form tag.

In FireFox and Google Chrome it looks like it should and also if I turn on compability view in IE.

This is what it looks like.

http://winmobileapp.com/kajanerror.png

Code

<div id="wrap">
    <!-- header start -->
    <div id="wrap-header">
        <div id="header">
            <div id="logo">
                <a href="#" title="Kajan Friskolan">
                    <img src="../Portals/_default/Skins/DlxIT_KajanFriskola/photos/bg_logo.png" alt="Kajan Friskolan" /></a></div>
            <div class="topmenubox">
                <dnn:MENU ID="topmenu" MenuStyle="SuperFish" runat="server" />
                <%--<ul id="topmenu">
                    <li><a href="#" title="Start">Start</a></li>
                    <li><a href="#" title="Verksamhet">Verksamhet</a></li>
                    <li><a href="#" title="Historik">Historik</a></li>
                    <li><a href="#" title="F&ouml;r&auml;ldrar">F&ouml;r&auml;ldrar</a></li>
                    <li><a href="#" title="Kontakt">Kontakt</a></li>
                </ul>--%>
            </div>
            <div class="searchbox">
                <form action="#" method="post" class="searchfield">
                <table cellspacing="0" cellpadding="0" border="0" class="search-table">
                    <tr>
                        <td>
                            <input type="text" name="search" id="search" placeholder="Ditt s&ouml;kord" class="textfield" />
                        </td>
                        <td>
                            <input type="submit" class="submitbutton" value="" />
                        </td>
                    </tr>
                </table>
                </form>
            </div>
            <div class="clear">
            </div>
        </div>
    </div>
    <!-- header end -->
    <!-- content start -->
    <div id="wrap-content">
        <!-- background image start -->
        <div id="start-image">
        </div>
        <!-- background image start -->
        <div id="content-start">
            <!-- colum left start -->
            <div id="leftpane">
                <div class="left">
                    <div id="ContentPane" runat="server">
                    </div>
                    <h1>
                        Kajan Friskola</h1>
                    
                </div>
            </div>
            <!-- colum left end -->
            <!-- colum right start -->
            <div id="rightpane">
                <div class="right">
                    <img src="../Portals/_default/Skins/DlxIT_KajanFriskola/photos/testbild.jpg" alt="" />
                    <h2>
                        En liten rubrik om en aktuell händelse</h2>
                    <p>
                        Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br />
                        Vestibulum eu neque erat, a tincidunt urna. Ut ullamcorper tellus venenatis lectus
                        placerat fringilla. åäö</p>
                </div>
            </div>
            <!-- colum right end -->
            <div class="clear">
            </div>
            <!-- bottom pane start -->
            <div id="bottompane">
                <div class="illustration">
                </div>
            </div>
            <!-- bottom pane end -->
        </div>
    </div>
    <!-- content end -->
    <!-- footer start -->
    <div id="footer">
        <div id="footerpane">
            <!-- footer left colume start -->
            <div id="footerleftpane">
                <!-- footermenu start -->
                <ul id="footermenu">
                    <li><a href="#" title="Start">Start</a></li>
                    <li><a href="#" title="Verksamhet">Verksamhet</a>
                        <ul>
                            <li><a href="#" title="Om skolan">Om skolan</a></li>
                            <li><a href="#" title="Grundskola">Grundskola</a></li>
                            <li><a href="#" title="Grundsärskola">Grundsärskola</a></li>
                            <li><a href="#" title="Gymnasiesärskola">Gymnasiesärskola</a></li>
                            <li><a href="#" title="Fritids">Fritids</a></li>
                            <li><a href="#" title="Klasser">Klasser</a></li>
                            <li><a href="#" title="Elevvård">Elevvård</a></li>
                        </ul>
                    </li>
                    <li><a href="#" title="Historik">Historik</a></li>
                    <li><a href="#" title="Föräldrar">Föräldrar</a>
                        <ul>
                            <li><a href="#" title="Matsedel">Matsedel</a></li>
                            <li><a href="#" title="Inloggning">Inloggning</a></li>
                        </ul>
                        Inloggning </li>
                    <li><a href="#" title="Kontakt">Kontakt</a>
                        <ul>
                            <li><a href="#" title="Skolchef">Skolchef</a></li>
                            <li><a href="#" title="Rektor">Rektor</a></li>
                            <li><a href="#" title="Rekrytering">Rekrytering</a></li>
                        </ul>
                    </li>
                    <li><a href="#" title="Inloggning">Inloggning</a></li>
                </ul>
            </div>
            <!-- footermenu end -->
            <!-- footer left colume end -->
            <!-- footer right colume start -->
            <div id="footerrightpane">
                <div class="footer-right">
                    <p>
                        &copy; 2012 Kajan Friskola, Ulleråkersvägen 42B, 756 43 Uppsala, kajan@cvo.se<br />
                        org.nr. xxxxxx-xxxx</p>
                    <h4>Dela gärna</h4>
                    <ul id="socialamedia">
                        <li class="facebook"><a href="http://www.facebook.com/sharer.php?u=http://xxx.se"
                            title="Dela med dig på Facebook">facebook</a></li>
                        <li class="twitter"><a href="http://twitter.com/home?status=Kajan Friskolan - En skola för elever med diagnos inom autismspektrat - http://xxx.se"
                            title="Dela med dig på Twitter">twitter</a></li>
                        <li class="email"><a href="#" title="Tipsa en vän">email</a></li>
                        <li class="likefacebook">
                            <div class="fb-like" data-href="http://www.kajanfriskola.se" data-send="true" data-layout="button_count" data-width="450" data-show-faces="false" data-colorscheme="dark" data-font="tahoma">
                            </div>
                        </li>
                        <li class="plusgoogle">
                            <div class="g-plusone" data-size="small" data-href="http://www.kajanfriskola.se/">
                            </div>
                        </li>
                    </ul>
                </div>
                <!-- footer left colume end -->
                <div class="clear">
                </div>
            </div>
        </div>
    </div>
</div>


 
New Post
8/31/2012 7:37 AM
 
Hi,

DotNetNuke is built on ASP.net and uses Web Forms. This means that DNN wraps your entire page with a FORM element. Only one FORM element is allowed per page. You will need to remove the form from your skin. Just use the DNN Search skin object instead of your own search form.

Hope that helps!



Ralph Williams, Jr.
UX Designer / Front-End Web Developer
www.RalphWilliams.com
Ralph Williams Consulting
Twitter: twitter.com/ralphwilliams

Professional DNN7: Open Source .NET CMS Platform
 
New Post
8/31/2012 8:32 AM
 

Thank you, I missed that obviously!

The little bugger sneaked in with the code from the designer.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinsIE9 design errorIE9 design error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out