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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:42:04+00:00 2026-05-29T21:42:04+00:00

how to show only a portion( in this case is to hide the watermark)

  • 0

how to show only a portion( in this case is to hide the watermark) of image like on 9gag.com,
I tried to use clip in css, but it requires image to be position absolute, which is a no no for me.

is there other way to do this in css? js is ok too.

thank you.

////////////////////////////////////////////////
here is the solution to my problem, took me a while to figure out i can use a margin attribute, silly me

img {margin:0 auto -33px;}
  • 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-29T21:42:05+00:00Added an answer on May 29, 2026 at 9:42 pm

    Yes, use the CSS overflow property. You can do overflow: hidden; to clip out entities beyond the width and height of a container.

    You can learn more at W3schools: http://www.w3schools.com/cssref/pr_pos_overflow.asp
    They even have an example for you to try out.

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

Sidebar

Related Questions

Is there a control like System.Windows.Controls.GroupBox that can hide its contents and show only
I am trying to show only elements that have the title attribute passed to
Is there any way to show only week day with Date as: MON 03-JUL
Is there a way in MySQL 5 to show only the current user's processes(queries)?
Is there an option for the curl command to show only a percentage output
View History on an file in a branch show only changes since the branch.
i have DataTimePicker control in my form. i want to show only hh:mm how
I want to show up only words with minimum 4 Characters, actually I can
Is there a way to only show the first N lines of output from
By default in all browsers, title attributes only show on mouse over. I want

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.