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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:01:18+00:00 2026-05-23T00:01:18+00:00

Basically its a 2 column setup, with a dynamic width content column, and a

  • 0

Basically its a 2 column setup, with a dynamic width content column, and a static width menu column.

The content column is going to contain pre-tags (with code), and I need overflow:auto on the pre-tag inside the table to work.

So far I’ve had little luck. The nature of the pre tag forces a certain size on the table cell, which in turn refuses to be any smaller than the width of the pre tag.

Can anyone help out?

Ps. I’ve placed a second pre-tag on the page, which works as intended, but thats probably because it’s not inside a table.

  • 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-23T00:01:19+00:00Added an answer on May 23, 2026 at 12:01 am

    I found an acceptable solution.
    The solution is a negative right margin for the pre (code) element.

    Basically, a negative right margin will force the pre to shrink if it needs to.
    I made margin-right -800px, and the width 97%.

    I noticed that the width, paddings and borders need tweaking if to look good at all resolutions, but the solution works.

    A simple solution that was hard to dream up.

    [EDIT]

    There was a link to an example, but it has been taken down.

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

Sidebar

Related Questions

Basically I need to reset Identity Increment for all tables to its original. Here
I have a view where the user can change some settings, its basically a
Basically, I just want to know if its possible to use Nhibernate to migrate
is there anyway to unbox an object to its real type? Basically I am
can anyone help me write a linq query, its a bit confusing... Basically i
The home page of this site will have basically a 3 column layout. I
I've created a function in excel which basically searches a dynamic range in a
I'm trying to use this layout with two 50% column width instead. But it
I want each row's first col content to be moved to its corresponding third
I have a table that has, among its primary keys, a VARCHAR(16) column that

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.