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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:44:44+00:00 2026-06-08T02:44:44+00:00

HTML: <div id=content> content ,content,content ,content… <input type=button value=see more> </div> css #content {

  • 0

HTML:

<div id="content">
content ,content,content ,content...
<input type="button" value="see more">
</div>

css

#content
{
        width:500px;
    height:400px;/* actual height 1000px */
    float:left;
    color:grey;
    text-align:justify;
    text-indent:1em;
    border:1px solid black;
    padding:10px;
        overflow:hidden;
}

Clicking on button using jquery the div will expand up to 1000px. But my problem is, by setting overflow:hidden, the button is not visible.
I want the button to show at the end of div. Before clicking and after clicking, I want to show the button at the end of div. How to do this?

  • 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-08T02:44:46+00:00Added an answer on June 8, 2026 at 2:44 am
    #content{
        position: relative; 
    }
    input[type='button']{
        position: absolute;
        bottom: 0;
    }
    

    Absolutely positioned elements are positioned relative to the nearest “other-than-static” positioned parent element. That’s why we need to set the #content to relative first.

    DEMO: http://jsfiddle.net/RFFwy/

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

Sidebar

Related Questions

i'm using div content editable html to get value from input keyboard to post
I need a div css boxes every time with html-php content, when its in
<div id=content> <div id=header> </div> <div id=main-content> </div> </div> html, body{height:100%;margin: 0px; padding: 0px;
HTML: <div content> <div post> <div post> ... </div> CSS: .post { margin: 0;
I have some recursive HTML in the following tree structure: div.item div.content input div.container
<html> <body> <a href=samepage.php><img src=button.png></a> <div> //page content, database queries, calculations etc </div> </body>
I have the below xpath expression //div[@class=post-content]//img which runs on a html page, scanning
If I have the following html: <html> <div id=main_content> <button>click me</button> <script src=main.js ></script>
In jQuery we usually use, for example: var content = $('tr#someid td').find('div').html(); var content
i have my html something like this... <div class = content> <div class =

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.