Jump to content

two columns to line up correctly


tchoy

Recommended Posts

Is each author supposed to be lined up to the respective article? You could use a table, or keep the authors inside the

tags next to the article.

 

Don't use

s between

s - if you need more space, add margins or padding.
Link to comment
Share on other sites

So why not

></pre>
<ul>
Why? by Ms. Josephine Yan

Bridging between Eastern and Western Culture by Dr. Edwin Leung


Long Journey, Small Thoughts by Ms. Mei Huang

Confucious and Francis of Assisi by Fr. Abraham Chiu OFM

Dummy Digital Camera can take beautiful pictures as well by Mr. Andy Szeto

2006-2008 Meeting People, Making Friends by Mr. Joe Tye

</ul>

?

Link to comment
Share on other sites

I agree with Thelma above -- in order to do what you're trying to do, you aren't going to be able to do that with two separate lists.

 

Either you'll need to do something like what Thelma suggested, or something more like this, where you have the two columns within the li:

 

  • titlename

 

#idTabs li { overflow:auto; width: 400px; }

#idTabs1 li .left { display:block; float:left; }

#idTabs1 li .right { display:block; float:right; }

 

Also, if you want spacing between your items -- add padding or margin. Adding

s between the elements may cause problems because it's invalid code.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...