murtaugh / HTML5-Reset-WordPress-Theme

A style-free WordPress theme to get you started with proper HTML5 semantics and structures.
1.1k stars 286 forks source link

Float issue on page.php #82

Closed evandropastor closed 11 years ago

evandropastor commented 11 years ago

I've tried to make 2 floats, using the page.php using the following code:

page-wrap{

   width:1024px;
   margin:auto;

} ![Captura de Tela 2013-03-25 a s 12 25 05](https://f.cloud.github.com/assets/94072/298551/4b1849f6-9560-11e2-94d4-1af39809157e.png

respond{

width:500px;
float:left;
padding-right:25px;
background:blue;

}

sidebar{

width:250px;
background:red;
    float:right;

}

But the sidebar does not float. Maybe is a missing div before the sidebar or something that I cant find.

evandropastor commented 11 years ago

Issue fixed using a wrap:

<div id="block">
   <article>...</article>
   <?php comments_template(); ?>
</div>