WordPress的环尺寸调整
问题描述:
我有设定为200像素的宽度一个div ..我想WordPress的循环操作在有..代码:WordPress的环尺寸调整
<div id="main1" width="200px">
<?php query_posts('showposts=5'); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a><?php the_content(); ?> <?php comments_number('No Comments','1 Comment','% Comments'); ?><br /><br>
<?php endwhile;?>
</div>
当我输出的代码,但是在div转移到适合屏幕。有关如何调整大小的任何建议?我也尝试过CSS。我有一个自定义的WP主题即时通讯工作。
答
尝试<div id="main1" style="width: 200px;">
您试过了哪些CSS? – marramgrass 2011-12-20 23:08:48