Teraz trochę poprawiłem divy.. i nadal nie działa.. css jest dobrze napisany..
To jest plik css
http://wklej.org/id/242869/Tak wygląda fragment w html... tylko nim się sugeruje przy kodowaniu..
<div class="skelet"><img src="wp-content/themes/wowblade/img/skelet.gif" alt="" /></div>
<div class="post" id="post-21">
<h2><a href="featured/aenean-erat-massa-porttitor/index.html" title="Aenean erat massa, porttitor">Aenean erat massa, porttitor
</a></h2> <li class="posted">Posted in
<a href="category/featured/index.html" title="View all posts in Featured" rel="category tag">Featured
</a>,
<a href="category/world-of-warcraft/index.html" title="View all posts in world of warcraft" rel="category tag">world of warcraft
</a></li> <li class="time">June 29th, 2009
</li>
<!-- picture-->
<div class="pic"><a href="featured/aenean-erat-massa-porttitor/index.html"><img src='img/01.jpg' alt="" /></a></div><!--/picture-->
<p>Aenean erat massa, porttitor at porttitor sit amet, molestie ut nibh. Aliquam erat volutpat. Suspendisse cursus, enim in cursus adipiscing, enim velit varius erat, nec convallis mi ipsum ut enim. Vestibulum id tincidunt orci. Vestibulum nec nisl a elit aliquam aliquet. Integer et mauris ligula, id sagittis nisl. Mauris eget purus tellus. Maecenas eget urna lectus. Curabitur nec libero urna, ut fermentum odio. Pellentesque venenatis, purus vitae varius mollis, nisi diam venenatis nulla, sit amet molestie risus purus non mauris. Nulla urna lorem, convallis vitae suscipit ac, consectetur sed dolor.
</p>
<div class="tools"><em class="comments">3
</em></div>
http://warcraft.motiontheme.com/ - tak ma wyglądać strona
A to jest index.php w którym koduje ,,ramkę postu''.
<?php get_header(); ?>
<div class="articles">
<div id="post">
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<div class="postdata">
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"></a></h2>
<h2> <?php the_title(); ?></h2>
<div class="post_banner"> </div>
<li class="posted"><?php _e('Author', 'kubrick'); ?>: <a href="#" title="<?php _e('Author', 'kubrick'); ?>"><?php the_author() ?></a>, Filed under: <?php the_category(', ') ?></li>
<li class="time"><?php the_time('F jS, Y') ?></li>
</div>
<div class="content">
<div class="pic">
</div>
<?php the_content("<br />" . "Read More " . """ . the_title('', '', false) . """); ?>
</div></div>
<div class="comment">
<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
</div>
<br />
</div>
<!-- end links -->
<div class="post_content">
<br />
<?php the_content("<br />" . "Read More " . """ . the_title('', '', false) . """); ?>
</div>
<div class="category">
<?php edit_post_link('Edit', '| ', ''); ?>
</div>
<?php if(function_exists("UTW_ShowTagsForCurrentPost")) : ?>
<div class="post_tag">
<?php UTW_ShowTagsForCurrentPost
("commalist", array('last'=>' and %taglink%', 'first'=>'Tagged in %taglink%',)) ?> </div>
<?php else : ?>
<div class="post_tag">
<?php the_tags() ?>
</div>
<?php endif; ?>
<?php endwhile; ?>
<div id="post_navigator">
<?php if(function_exists("wp_pagenavi")) { ?>
<?php wp_pagenavi(); ?>
<?php } else { ?>
<?php posts_nav_link() ?>
<?php } ?>
</div>
<?php else : ?>
<h2>The post had been deleted</h2>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>