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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:31:56+00:00 2026-05-26T01:31:56+00:00

here is the structure of my html <style> .left { float:left; width: 450px; }

  • 0

here is the structure of my html

<style>
  .left {
    float:left;
    width: 450px;
  }
  .center {
    float:left;
    width: 150px;
  }
  .right {
    float:right;
    width:450px;
  }
</style>
<div>
  <div class="left">
  </div>
  <div class="center">
    <a href="javascript:someOnclick();">Add</a>
  </div>
  <div class="right">
  </div>
</div>

The content of the left div is a table loaded via ajax. What I would like to do is have the link vertically centered (or darn close) dynamically so that when teh table is loaded and that div changes in height my link then moves appropriately. I’ve created a grid view control on this table and based on the selected value I want to use the link to populate the right column. Any help would be appreciated. The center div has a fixed width but height would probably fill the containing div to allow for vertically centering.

  • 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-05-26T01:31:57+00:00Added an answer on May 26, 2026 at 1:31 am
    <style>Update
      .left {
        float:left;
        width: 450px;
      }
      .center {
        width: 150px;
        margin-left:auto;
        margin-right:auto;
      }
      .right {
        float:right;
        width:450px;
      }
    </style>
    <div>
      <div class="left">
      </div>
      <div class="center">
        <a href="javascript:someOnclick();">Add</a>
      </div>
      <div class="right">
      </div>
    </div>
    

    P.D: Don’t forget to tick , thanks 😀

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

Sidebar

Related Questions

Suppose I have this HTML structure: <div class=a> <div class=floated-left>...</div> <div class=floated-left>...</div> </div> I
I have one html structure: enter code here <ul> <li><span>aaa</span> <div> <ul> <li><span>bbb</span> </li>
I have some content sliding here. http://www.smallsharptools.com/downloads/jQuery/Slider/slider.html The HTML structure is simple. There is
Here is the example with comments: class Program { // first version of structure
i am having a html structure like <ul> <li> <span class=vcard> <a class=underline user-link
i have table with below structure: <table class=cedvel> <caption> count: <%:Html.Encode(TempData[RowsCount])%></caption> <thead> <tr> <th
I'm trying to make an iOS-style toggle switch in HTML/CSS/JavaScript. It's at the point
I have many elements (floating href tags) in a div with a set height/width,
Elements of my page are breaking out of wrapper div. Here is the structure:
I have the following HTML in a page feature: <div id=feature-detail> <div class=da1 d-active>

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.