Jump to content

[problem Solved] Specific Table Location


Guest ealshabaan

Recommended Posts

Guest ealshabaan

problem solved :) hello people!so, i need some help with placing a table in a specific location in my website. please check it out here, www.tech-nuke.com. you will notice that there are a white blank space in the left side of the page, which i want to place a table there.and just for clarification, i want to place a table tag so the white empty area become independent (not really!) from its neighbor.i have been trying so hard to get something in that specific area but every time i missed up the desigen of the page. here is the html code of that part of the page:

<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td valign="top" class="titlebg">مرحبا بكم في <?php bloginfo('name'); ?></td></tr><tr><td valign="top"><table width="100%" border="0" cellpadding="5" cellspacing="0"><!--Added: Latest forum topics --><tr><td valign="top" class="cell-t" style="border:1px solid #ccc;">اخر مواضيع المنتدى</td></tr><td class="cell-h"><? include('recent-topics.php'); ?></td><!-- Added: Remove for box 4 --><tr><td valign="top" class="cell-t" style="border:1px solid #ccc;">احدث موضوع</td></tr><tr><td class="cell-h"><?php $recent = new WP_Query("cat=25&showposts=1"); while($recent->have_posts()) : $recent->the_post();?><div class="cat-image"><a href="<?php the_permalink() ?>"><img style="padding:0px; margin:0px; border:0px;" height="150" width="150" src="<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>" /></a></div><?php the_content_limit(800, ""); ?><div style="display:block; text-align:right;"><b><a style="font-size:14px;" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?> »</a></b></div><?php endwhile; ?></td></tr><!--end added: remove for box 4 --><tr><td width="65%" valign="top"><table width="100%" border="0" cellpadding="5" cellspacing="0"><tr><script type="text/javascript"><!--google_ad_client = "pub-6723104396625340";/* 468x60, created 4/26/09 */google_ad_slot = "7601118167";google_ad_width = 468;google_ad_height = 60;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><td valign="top"><table width="100%" border="0" cellpadding="5" cellspacing="0"><!--<p>1</p>--><!-- Added: Remove to get box 1--><tr><td valign="top" class="cell-t" style="border:1px solid #ccc;">++C</td></tr><tr><td class="cell-h" style="padding:8px;"><?php $recent = new WP_Query("cat=17&showposts=2"); while($recent->have_posts()) : $recent->the_post();?><div align="center" class="Small-Landscape-image"><a href="<?php the_permalink() ?>"><img style="padding:0px; margin:0px; border:0px;" height="80" width="80" src="<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>" /></a></div><?php the_content_limit(700, ""); ?><div style="display:block; text-align:center;"><b><a style="font-size:14px;" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title2('', '...', true, '70') ?> »</a></b></div><?php endwhile; ?></td></tr><!--End Added: Remove to get box 1 --></table></td><td style="border-left:1px dotted #999999;" valign="top"><table width="100%" border="0" cellpadding="5" cellspacing="0"><!--<p>2</p>--><!-- Added: Remove to get box 2--><tr><td valign="top" class="cell-t" style="border:1px solid #ccc;">برمجة الالعاب C++/SFML</td></tr><tr><td class="cell-h"  style="padding:8px;"><?php $recent = new WP_Query("cat=25&showposts=2"); while($recent->have_posts()) : $recent->the_post();?><div align="center" class="Small-Landscape-image"><a href="<?php the_permalink() ?>"><img style="padding:0px; margin:0px; border:0px;" height="80" width="80" src="<?php echo get_post_meta($post->ID, "Thumbnail", true); ?>" /></a></div><?php the_content_limit(700, ""); ?><div style="display:block; text-align:center;"><b><a style="font-size:14px;" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title2('', '...', true, '70') ?> »</a></b></div><?php endwhile; ?></td></tr>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...