NoeG
11-23-2011, 01:36 AM
on http://noegarciadesign.com/kyle I have a sidebar that is dumped at the bottom of the container instead of the top but if I click on any other page it jumps up where its supposed to be. Is that a cache problem on my end? I cleared my cache and also tried on different browsers but it does the same thing. Or could it be something else like a clear fix problem? I used overflow:auto instead of the clear:both method.
I've never had this problem before though so I'm stumped.
this is all the html and css associated with the issue
#content{
width:1024px;
margin:30px auto;
border:2px dashed #000;
color:#4d4d4d;
background-color:#f2f2f2;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 30px 0px ;
-moz-box-shadow: 0px 0px 30px 0px ;
box-shadow: 0px 0px 30px 0px ;
}
#post{
width:700px;
padding:10px 0 10px 10px;
float:left;
}
#post h2{
color:#4d4d4d;
}
#post h2 a:link, #post h2 a:visited{
color:#4d4d4d;
text-decoration:none;
}
#post a:link, #post a:visited{
color:#4d4d4d;
}
#sidebar{
width:225px;
padding:10px;
margin:20px 0 20px 25px;
float:left;
border:1px dashed #000;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
#sidebar ul{
list-style-type:none;
}
#sidebar a:link, #sidebar a:visited{
color:#a5afa1;
text-decoration:none;
}
<div id="content">
<?php if(have_posts()):?>
<?php while(have_posts()):the_post();?>
<div id="post">
<h2 class=post-title><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></h2>
<?php the_content();?>
</div>
<?php endwhile;?>
<?php endif;?>
<div id="sidebar">
<h2>Archives</h2>
<ul><?php wp_get_archives('type=monthly'); ?></ul>
</div>
</div>
This isn't a time critical issue but a prompt response would be appreciated
I've never had this problem before though so I'm stumped.
this is all the html and css associated with the issue
#content{
width:1024px;
margin:30px auto;
border:2px dashed #000;
color:#4d4d4d;
background-color:#f2f2f2;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0px 0px 30px 0px ;
-moz-box-shadow: 0px 0px 30px 0px ;
box-shadow: 0px 0px 30px 0px ;
}
#post{
width:700px;
padding:10px 0 10px 10px;
float:left;
}
#post h2{
color:#4d4d4d;
}
#post h2 a:link, #post h2 a:visited{
color:#4d4d4d;
text-decoration:none;
}
#post a:link, #post a:visited{
color:#4d4d4d;
}
#sidebar{
width:225px;
padding:10px;
margin:20px 0 20px 25px;
float:left;
border:1px dashed #000;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
#sidebar ul{
list-style-type:none;
}
#sidebar a:link, #sidebar a:visited{
color:#a5afa1;
text-decoration:none;
}
<div id="content">
<?php if(have_posts()):?>
<?php while(have_posts()):the_post();?>
<div id="post">
<h2 class=post-title><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></h2>
<?php the_content();?>
</div>
<?php endwhile;?>
<?php endif;?>
<div id="sidebar">
<h2>Archives</h2>
<ul><?php wp_get_archives('type=monthly'); ?></ul>
</div>
</div>
This isn't a time critical issue but a prompt response would be appreciated