Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7963797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:41:56+00:00 2026-06-04T05:41:56+00:00

For example, I have an html page where it contains paragraphs. Just like this

  • 0

For example, I have an html page where it contains paragraphs. Just like this for example:

<html>
<head><title>Paragraphs</title></head>
<body>
<p> Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren</p> <br/>
<p> Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren</p> <br/>
<p> Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren</p> <br/>
<p> Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren</p> <br/>
<p> Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren Lorem Lorem Lorem Loren</p> <br/>
</body>
</html>

I want to display it in columns so I used columns-width, columns-gap. The question is, how would I know the element on the top most of each column. I’ve managed to get the element for a particular column. I want to know what would be the element of the next column/s.

Here is the jsFiddle: http://jsfiddle.net/yQxC2/11/
My Question is how would I know the top most element on the 1st column, 2nd column and so on. Sorry for the confusion.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T05:41:58+00:00Added an answer on June 4, 2026 at 5:41 am

    For your tags I see you use jQuery.

    Use each:

    $(document).ready(function(){
        $("p").each(function() {
            alert(this.childNodes[0]); 
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a html page that contains a structure like this: <table class=pick> <tr>
Hey, I have a html page which contains for example the following tags :
If I for example have <p> some long text </p> on my HTML page,
I have html like so: <div class=foo> (<a href=forum.example.com>forum</a>) <p> Some html here.... </div>
I have example.org and foo.example.org pointing to the same directory, /var/www/html/ , and want
I have a base.html template that contains a list of links. Example: <div id=sidebar1>
Suppose we have this example: http://techdroid.kbeanie.com/2009/07/custom-listview-for-android.html with source code available here: http://code.google.com/p/myandroidwidgets/source/browse/trunk/Phonebook/src/com/abeanie/ How can
I'm new to cakephp and following this tutorial. http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html I have created the blog
I have a 2-frame HTML page: FrameA contains a list of links to various
I'm building CMS like application. For example my BlogPost page contains several widget areas.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.