• Hi, I am making a simple table, and a big gap appears in it. I have the same table in the sidebar, and in the main content, and it only doesn’t work in the sidebar.

    https://freshstreetmag.com/

    If you look at the featured posts section, they don’t align.

    WHAT’s happening?!

    <table width="280" height="80" border="0" cellpadding="0" cellspacing="0">
    					<tr>
    						<td width="85" height="80">
    							<div style="float: left;">
    								<a href="/clothing/"><img src="/wp-content/themes/v1/images/category_clothing.jpg" /></a>
    							</div>
    						</td>
    						<td width="185" valign="top">
    							<h5>Fashion</h5>
    							Read about the latest news in the fashion world. Discover what's cool.
    							<div class="alignright"><a href="/clothing/" class="readmore">View Fashion</a></div>
    						</td>
    					</tr>
    				</table>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter JGold1993

    (@jgold1993)

    Ok, so I changed it to divs, but now I have the reverse problem. I can’t space them out even when I set a margin on the css.

    <div id="featured-posts">
    				<div class="imagetitle">
                		<img src="/wp-content/themes/v1/images/featuredposts.jpg" />
                	</div>
    
                	<?php $my_query=new WP_Query('category_name=art-design&posts_per_page=3'); ?>
    
    				<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
                	<div id="featured-box">
                		<div class="featured-thumb">
                			<a href="/clothing/"><img src="/wp-content/themes/v1/images/category_clothing.jpg" /></a>
                		</div>
                		<div class="featured-content">
                			<h5>Fashion</h5>
    							Read about the latest news in the fashion world. Discover what's cool.
    							<div class="alignright"><a href="/clothing/" class="readmore">View Fashion</a></div>
                		</div>
                	</div>
    				<?php endwhile; ?>
    			</div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gap in Table. VERY IRRITATING!’ is closed to new replies.