Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Table cells won't align/won't shrink to fixed height

    I'm using WordPress and Advanced Custom Fields (WYSIWYG) to fill a cell in a table. Inexplicably this cell in the table doesn't align with the other cells, and setting a fixed height on the table doesn't seem to help. I have a jsfiddle here: http://jsfiddle.net/vlyandra/uYzSB/ and the code that's used to generate this table is the following:
    Code:
    					<table class="fixed-height">
    						<tr>
    							<td><p class="header" style="align:top;">Details</p><br />
    								<?php the_field('details');?>
    							</td>
    							<td>
    								<a href="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'secondary-image');?>">
    									<?php if (class_exists('MultiPostThumbnails')) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'secondary-image'); endif; ?>
    								</a>
    							</td>
    							<td>
    								<a href="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'tertiary-image');?>">
    									<?php if (class_exists('MultiPostThumbnails')) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'tertiary-image'); endif; ?>
    								</a>
    							</td>
    							<td>
    								<a href="<?php echo MultiPostThumbnails::get_post_thumbnail_url(get_post_type(), 'fourth-image');?>">
    									<?php if (class_exists('MultiPostThumbnails')) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'fourth-image'); endif; ?>
    								</a>
    							</td>
    						</tr>
    					</table>
    I'm a WordPress newb, and any help would be greatly appreciated. Thanks!

  • #2
    New Coder
    Join Date
    Nov 2012
    Location
    India
    Posts
    53
    Thanks
    0
    Thanked 3 Times in 3 Posts
    convert into div and css


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •