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 8412389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:39:32+00:00 2026-06-10T00:39:32+00:00

here is my code <div class=entry-content> <p>some text…</p> <p>some text…</p> <p>some text…</p> </div> My

  • 0

here is my code

<div class="entry-content"> <p>some text...</p> <p>some text...</p> <p>some text...</p> </div>

My entry-content div has an absolute positioning, so the text inside the p tags goes under the footer. i have to fix the height of entry-content to total height of all p tags using javascript.
please help.

  • 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-10T00:39:33+00:00Added an answer on June 10, 2026 at 12:39 am

    Have you tried using $('.entry-content').height(), or similar functions like .innerHeight()? (jQuery docs).

    You wouldn’t need to set the height of the <div>, but you could measure the default height, and use that to position your footer.

    A word of warning: because of text wrapping, the height of that div might change when the window is resized. You might want to set a callback using $(window).resize(...), to update the positioning when that happens.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is some code: var class = function(elem,div){ this.elem= elem; this.div = div; this.init
Here is a simplified snippet of my code: <li id=work-5 class=work-5 class-B> <div>some other
So I have this code here: <table> <tr> <td width=200px valign=top> <div class=left_menu> <div
Here is my code : <div class=Cat-list unselectable style=font-weight:bold;> <div class=right-bar-nav-item> <asp:HyperLink runat=server ID=lnkHome
Here's my code.. <div id=secondWrapper> <div class=para1> <div class=heading> <h1>Heading 1</h1> </div> <div class=paragraph>
I'm having an issue getting text to wrap inside an absolute positioned div. I
Heys! Ill cut right to the subject, here's the jquery code: jQuery(function() { jQuery('.entry-content
First I'll show you a sample of the code I'm working with: <div class=entry>
I have this code here, {foreach from=$cart.cartItems item=item name=cart} <div id=cart2Produkt> <p>{if $item.Product.ID} <a
here is my code <div id=content_main2> <div id=content_main2_left><img src=../images/logo.png></div> </div> css #content_main2 { width:800px;

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.