Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7569549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:11:37+00:00 2026-05-30T15:11:37+00:00

I have been running into some issues with a JS script and have isolated

  • 0

I have been running into some issues with a JS script and have isolated the problems.
My divs are completely messed up.
The layout I am looking for is :

wrapper    -    whole page.
        header

left menu 1     right content (stretches to / past left menu item 3)
left menu 2 
left menu 3
      footer

I would like the menu items to be contained in a div which is the same height as the right content div.

This is the code I have :

<html>
<head>
<title>Bliss</title>
<link rel="stylesheet" type="text/css" href="styling1.css" />
</head>

<body>

<div id="wholewrap">
<div id="header">header</div>

<div id="middlewrap">

<div id="menuwrap">
<div id="1" class="floatleftnw">1</div>
<div id="1" class="floatleftnw">2</div>
<div id="1" class="floatleftnw">3</div>
</div><!-- end of menu-->

<div id="right" style="float:right; display:inline;">right</div>
</div><!-- end of middlewrap-->
<div id="footer">
footer
</div >

</div><!-- end of whole wrap-->
</body></html>

and the css I have (as per styling1.css) is :

@charset "utf-8";
/* CSS Document */

html, body {
    margin: 0px;
    padding: 0px;
}
body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 11px;
    text-align: center;
    line-height: 1.8em;
    background:#fff;
}



#wholewrap {
    width:1000px;
    margin-left:auto;
    margin-right:auto;
}

#right {
    margin-left:220px;
    width:740px;
    margin-bottom:40px;
    float:right;
    display:inline;

}

.floatleftnw {
    float:left;
}



#middlewrap {
    height:800px;
    width:1000px;

}


#menuwrap {
    height:800px;
    width:200px;
    display:inline;
    border:1px solid blue;

}

.clearer {
    font-size: 0px;
    height: 0px;
    width: 100%;
    display: block;
    clear: both;
}

Can anyone see where I am going wrong? When I rewrote this layout (last hour or 2) I opened my div and made sure I closed it straight away and even commented it. The code is not showing any errors in DreamWeaver, however when I view in firebug, the divs are not functioning as supposed, I.e the menuwrap should have a blue border around it. Right should be inline with the left menus (I can get the border around the menuwrap, however as soon as I add inline to right’s properties, it all gets destroyed.)

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T15:11:39+00:00Added an answer on May 30, 2026 at 3:11 pm

    change a bit in ur css as well as in html

    css

    #menuwrap {
        background-color: #D3C5C5;
        float: left;
        height: 100%;
        width: 30%;
    }
    #right {
       height: 100%;
       width: 70%;
       float:left;
       display:block;
       background-color: #fDc3C5;
    }
    
    .floatleftnw {
       float:left;
       clear:both;
    }
    

    HTMl ( dont mix inline css and external css )

    <div id="wholewrap">
    <div id="header">header</div>
    
    <div id="middlewrap">
    
    <div id="menuwrap">
    <div id="1" class="floatleftnw">1</div>
    <div id="1" class="floatleftnw">2</div>
    <div id="1" class="floatleftnw">3</div>
    </div><!-- end of menu-->
    
    <div id="right">right</div>
    </div><!-- end of middlewrap-->
    <div id="footer">
    footer
    </div >
    
    </div><!-- end of whole wrap-->
    

    Working DEMO

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to learn Erlang and have been running into some problems
I have been running into some issues with animating multiple CALayers at the same
Ok, so I have been running into some threading issues with OpenGL on Windows.
So I have been running into all kinds of interesting problems in VisualStudio 2008
So I've been running into some speed issues with my site which has been
I have been running Visual Studio 2008 Team Edition for some time now and
I'm working on an Azure based project for some research and have been running
I have been looking into a memory leak issue for a while. I found
So I've been working through some issues, and I'm real close, but I'm running
I have been running Apache HTTPD in 64bit mode by stripping out the 32bit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.