Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

How do I line it up without using line-height:X.Xem ?

10:48 am on Sep 19, 2011 (gmt 0)

I'm trying to create a page in Wordpress, which will have staff details.
So in the left hand side, there's be the name and job title (over two lines.
On the right hand side, their bio will appear.
The bio is much longer than the 2 lines on the left hand side.
The em number varies after each bio, to match it up line wise.

I'm using shortcodes (All In One Shortcodes) but the lines doesn't match up.

I used
<span style="line-height:X.Xem;">
to adjust the space, but obviously that won't work, as it's not consistent across computers.
Can I use something else?

This is the code that I've used:

[one-half last=no]

<strong>John Doe 1</strong>, B.A, CPA
Managing Director
<span style="line-height:6.7em;">
<strong>John Doe 2</strong>, B.bus, Dip.FP
<span style="line-height:18.4em;">
<strong>John Doe 3</strong>, Dip.Val,  AAPI Dip.Property
<span style="line-height:8.4em;">
<strong>John Doe 4</strong> B.Com (hons)
<span style="line-height:5em;">
<strong>John Doe 5</strong> Cert iv Mtg
<span style="line-height:5em;">
<strong>John Doe 6</strong>

[one-half last=yes]

John 1 is a certified practicing accountant with extensive experience in structuring capital for property Investment.  John pioneered the #*$!XX Group including residential development (#*$!XX Constructions) and Private capital brokerage (#*$!XX Securities) and has worked in the finance industry for the past 40 years.
John 2 has worked in the Financial Services sector for the past 20 years, both as an investment adviser with #*$!XX (1998-2000), #*$!XX (2000-2002) and more recently Dealer principal Head of Funds Management for a large Not For Profit Organisation. John 2 established Financial Planning and Lending businesses including the establishment of $100mil Commercial mortgage portfolio with #*$!XX.  John 2 has held numerous directorship positions (including Chair) of #*$!XX and is a member of the #*$!XX and #*$!XX.
John 3 has worked in the property industry for the past 25 years. John is a director and principal of Market-line Opteon Valuers  John 3  pioneered Market-line, now (post merger) the largest valuer in #*$!XX and has extensive experience in industrial and commercial property.
John 4 is a senior risk and credit analyst with 27 years banking experience including senior positions in #*$!XX, #*$!XX and #*$!XX.
John 5 joined #*$!XX Group in 1997, bringing with him 22 years in Banking management experience, with at least 15 years in small business and consumer finance with #*$!XX.
John 6 has worked with #*$!XX Group for 14 years in various capacities. John 6 currently prepares the company accounts and oversees office administration, including liaison with Legal and Valuation service providers and provides transaction management on behalf of Lender/ investors.

3:32 pm on Sep 19, 2011 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

I don't see any reason not to use a table in this case - this is tabular data. Lining up table rows and cells should be automatic.
7:03 pm on Sep 19, 2011 (gmt 0)

OK, thanks.
Will use tables.

Featured Threads

Hot Threads This Week

Hot Threads This Month