Container/Wrapper Div does not contain all content?

Posted by Imran on Stack Overflow See other posts from Stack Overflow or by Imran
Published on 2010-05-17T13:39:22Z Indexed on 2010/05/17 16:20 UTC
Read the original article Hit count: 482

Container/Wrapper Div does not contain all content (ie all the child Div's).I've tried overflow: hidden but still doesn't work. Can someone please tell me why this is happening and what are the possible solutions.

Thank you in advance ;-)

for some reason the whole code does not display??

<style type="text/css">

#wrapper {

margin:0 auto;
width: 600px;
background: yellow; 

    <div id="wrapper"> 
<h1>my beautiful site</h1>

<div id="navigation">
            <li><a href="#">Home </li>
                <li><a href="#">About</li>
                <li><a href="#">Services</li>
                <li><a href="#">Contact us </li>


<div id ="content">

    <h2> subheading<h2>
        <p>  long paragraph </p>

    <div id ="footer">
        copyright 123


© Stack Overflow or respective owner

Related posts about css-layout

Related posts about css