Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Maxwell 10 posts 30 karma points
    Feb 15, 2011 @ 16:36
    David Maxwell
    0

    Code chk

    For some reason my content area is sitting under the left sidebar submenu...

    I think this code is the culprit but not sure whats wrong!? Any ideas? Have I positioned something incorrectly?


    <%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>

    <asp:Content ContentPlaceHolderID="masterContent" runat="server">
        <div id="mainContent" class="fc">
          
          <div class="navigation">
          <umbraco:Macro ID="Macro2" CssClassName="" CssId="" StopLevel="6" StartLevel="2" Alias="Navigation" runat="server"></umbraco:Macro>    
          </div>

           <div id="content">
                <umbraco:Item ID="Item2" Field="bodyText" runat="server" ></umbraco:Item>
             
                <asp:ContentPlaceHolder Id="contentContent" runat="server"></asp:ContentPlaceHolder>
           </div>

           <umbraco:Macro Alias="SidePanels" runat="server"></umbraco:Macro>
        </div>
      
    </asp:Content>
  • kows 81 posts 151 karma points c-trib
    Feb 15, 2011 @ 16:43
    kows
    0

    where's the styling (css)?

    As far as i can see you need to float your div.

  • David Maxwell 10 posts 30 karma points
    Feb 15, 2011 @ 16:45
    David Maxwell
    0

    The div is floated left.. which is why I'm struggling a little to understand.

    #mainContent #content 
    {
    float:left;
    width: 525px;
    margin: 0px 20px;
    }
  • David Maxwell 10 posts 30 karma points
    Feb 15, 2011 @ 16:47
    David Maxwell
    0

    I'm using the Starter Kit, Standard Website btw.

  • kows 81 posts 151 karma points c-trib
    Feb 15, 2011 @ 16:47
    kows
    0

    navigation aswell?

    might wanna add more code cause with this we can't help much :p

  • David Maxwell 10 posts 30 karma points
    Feb 15, 2011 @ 16:54
    David Maxwell
    0

    Lol, just fixed it. I had missed out a 'float:left; on the nav somehow!

    Many thanks!

Please Sign in or register to post replies

Write your reply to:

Draft