Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-16-2013, 03:32 AM   PM User | #1
vlyandra
New to the CF scene

 
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
vlyandra is an unknown quantity at this point
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!
vlyandra is offline   Reply With Quote
Old 02-16-2013, 10:00 AM   PM User | #2
webdevs
New Coder

 
Join Date: Nov 2012
Location: India
Posts: 52
Thanks: 0
Thanked 3 Times in 3 Posts
webdevs is an unknown quantity at this point
convert into div and css
webdevs is offline   Reply With Quote
Reply

Bookmarks

Tags
custom fields, wordpress

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 12:17 PM.


Advertisement
Log in to turn off these ads.