Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
this gonna drive me crazy - wordpress coding -
Old 07-27-2008, 01:50 AM this gonna drive me crazy - wordpress coding -
Novice Talker

Posts: 1
Name: max boy
Trades: 0
hii all.
plz plz plz i ask any one here can help me to answer me and try to solve this problem with me,
i start create my new site depending on wordpress 2.6 script.
every thing was greaaaat till i tried to add table to single.php after the main content.to add a lot of plugging one per raw, ratings, post views, and bookmark button.
i opened frontpage and started to create table in design mood. then i copied the code from code mood.
i pasted it in nice place in single.php
then i opened my site via firefox and every thing was greaaaaat coz i always using firefox.
i opened internet explorer to try to test my site.
but i found big white space between the end of post an the table
here is an example in next pictures and i tried to do any thing to remove this big white space from being seen on internet explorer but i field.
so please help me . how to remove this mistake or even start create new table witch goin to ge good in all kind of explorers.

picture 1 firefox view

picture 1 Internet Explorer view

and i try to add table to the post too.
i adding the codes in html mood

here is the post code
<table class="wptable rowstyle-alt" id="wptable-3" cellspacing="1">
<tr>
<td style="width:140px" bgcolor="#EFEFEF" align="left">Demo</td>
<td style="width:320px" bgcolor="#EFEFEF" align="left">edit me</td>
</tr>

<tr>
<td style="width:140px" align="left">Template Name</td>
<td style="width:320px" align="left">edit me</td>
</tr>
<tr class="alt">
<td style="width:140px" bgcolor="#EFEFEF" align="left">Designer & Source</td>
<td style="width:320px" bgcolor="#EFEFEF" align="left">edit me</td>
</tr>
</table>


here is the single.php code
<?php get_header(); ?>
<?php get_sidebar(); ?>


<div id="content">

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<div class="entry">
<div class="latest">

<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>




<div class="main">
<?php the_content(''); ?>




<table class="wptable rowstyle-alt" id="wptable-3" cellspacing="1">
<tr>
<td style="width:140px" bgcolor="#EFEFEF" align="left">Ratings</td>
<td style="width:320px" bgcolor="#EFEFEF" align="left"><?php PSR_show_voting_stars(); ?></td>
</tr>

<tr>
<td style="width:140px" align="left">Views</td>
<td style="width:320px" align="left"><?php if(function_exists('the_views')) { the_views(); } ?></td>
</tr>
<tr class="alt">
<td style="width:140px" bgcolor="#EFEFEF" align="left">Categories</td>
<td style="width:320px" bgcolor="#EFEFEF" align="left"><?php the_category(',') ?></td>
</tr>

<tr>
<td style="width:140px" align="left">Brought to you by</td>
<td style="width:320px" align="left"><a href="http://www.allblogtools.com"> Blogger Templates </a></td>
</tr>
<tr class="alt">
<td style="width:140px" bgcolor="#EFEFEF" align="left">Added</td>
<td style="width:320px" bgcolor="#EFEFEF" align="left"><?php _e("Posted on "); ?> <?php the_time('F jS, Y') ?></td>

</tr>
<tr>
<td style="width:140px" align="left">Instructions</td>
<td style="width:320px" align="left"><a href="http://www.allblogtools.com/Instructions"> Help and support </a></td>
</tr>
<tr class="alt">
<td style="width:140px" bgcolor="#EFEFEF" align="left">Bookmark and share</td>

<td style="width:320px" bgcolor="#EFEFEF" align="left"><?php if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) { ADDTOANY_SHARE_SAVE_BUTTON(); } ?></td>
</tr>
<tr class="alt">
<td style="width:140px" bgcolor="#EFEFEF" align="left">Subscribe</td>
<td style="width:320px" bgcolor="#EFEFEF" align="left"><?php Add_to_Any_Subscribe_Widget::display(); ?></td>
</tr>
</table>





<?php wp_link_pages(); ?>
</div>


<!--
<?php trackback_rdf(); ?>
-->

</div>
</div>



<?php comments_template(); ?>



<?php endwhile; else: ?>

<div class="warning">
<p><?php _e('Sorry, no posts matched your criteria, please try and search again.'); ?>

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

</p>
</div>



<?php endif; ?>

<?php posts_nav_link(' — ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>


</div> <!-- /content -->


<?php get_footer(); ?>




thannx all and have anice day

Last edited by maxboy; 07-27-2008 at 01:52 AM..
maxboy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-28-2008, 08:37 AM Re: this gonna drive me crazy - wordpress coding -
digitalfusion's Avatar
Skilled Talker

Posts: 73
Name: Martin
Location: Fife, Scotland
Trades: 0
Not sure about this one, but i would try adding the following to the tables css code:

Code:
clear: both;
margin-top: 0px;
Not sure if that will make a difference but its a problem IE has with whitespace in the code. (IE==) hehe

Hope this helps!
Regards,
Martin
__________________
---------------------------------------------------

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
digitalfusion is offline
Reply With Quote
View Public Profile Visit digitalfusion's homepage!
 
Reply     « Reply to this gonna drive me crazy - wordpress coding -
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27702 seconds with 12 queries