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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:02:09+00:00 2026-06-14T22:02:09+00:00

Im using this css property to clip the content inside a div: div {

  • 0

Im using this css property to clip the content inside a div:

div {
   position: absolute;
   clip: rect(0px,200px,100px,0px);
   overflow: none;
   width: 200px;
}

At the momment you see the height and width of the clipping area is fixed to 100×200. I want to mantein the fixed width but I need the height to be auto, I mean, relative to the div content. Is this possible? I tried:

rect(0px,200px,auto,0px)
rect(0px,200px,100%,0px)

But they seam to not work. Any suggestions?

  • 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-14T22:02:15+00:00Added an answer on June 14, 2026 at 10:02 pm

    Is none a valid value of overflow? Should it not be hidden?

    http://www.w3schools.com/cssref/pr_pos_overflow.asp

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

Sidebar

Related Questions

I'm using jQuery to get the CSS transform property: this.$slider.css('transform') The following returns: translate(100px,
I'm using the jquery .css property to add a background myobj.css('background', '#AE0000'); This results
How can I set the background-image css property of say a div using jquery?
I'm using the CSS3 property: resize: both; overflow: none; This puts a resize handle
How do you use the CSS content property to add HTML entities? Using something
I'm using this CSS .options input[type=radio],input[type=checkbox],label{ vertical-align: middle; } But the vertical-align property is
As it stands i have created a navigation menu using the background-position css property.
I'm using CSS's resize property to resize a div element in FF, Safari, and
I'm using this css: #hideSidebarText:hover > #hideSidebarArrows { background-position: -282px -51px; } how can
Im using this code: $(this).css('backgroundcolor', localStorage.getItem('bgColorr') + !important;); When i write: alert( localStorage.getItem('bgColorr') +

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.