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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:05:01+00:00 2026-06-09T06:05:01+00:00

I have page with sidebars. There is a table. I want to show one

  • 0

I have page with sidebars. There is a table. I want to show one line on the bottom of screen, no matter how big the table is. This line should has same width as table does.

Here is what I’ve tried, but without success:

<div style="width: 100%; position: relative;">
    <table>
           ...
    </table>

    <!-- this div will be width as whole page, not as table -->
    <div style="width: inherit; position: fixed; bottom: 0;">Wuah!</div>
</div>

Tell me pls some advices how to make it works 🙂
Here is a live example, sidebars included: http://other.dttrading.sk/orders.htm

  • 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-09T06:05:03+00:00Added an answer on June 9, 2026 at 6:05 am

    The problem is that fixed elements are fixed relative to the viewport, not their parent, and they’ll will inherit the width from the viewport too. You can check that by inspecting the DOM, the fixed footer has the exact same width as the <body>.

    One possible workaround:

    • Give it left: 0 to left-align the footer
    • Set some z-index values so that the footer is behind the sidebar
    • Add another container inside the footer, offset it to the right, and center the content inside it.

    (Not tested)

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

Sidebar

Related Questions

I have a page with this structure: topbar (100% width) sidebar content i want
I have a page with a 2 column structure. I want to make one
In this html I basically have a sidebar-div and a page-div with the header,
I have a page where I divided things like this: a div for the
You can see in this page: http://www.indiacustomercare.com/blogs/admin there is layout issue for some time
I have a number of photos of people on a page and I want
I want to have 4 links in the sidebar of master page which every
I have this line of javascript which creates a listing of store locations, and
I have an asp.net page. There is sidebar in which there are several buttons.
I have two floating divs next to each other, and want the left one

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.