Stretch Background Image Css | Edureka Community

189759/stretch-background-image-css

  • Home
  • Community
  • Categories
  • Web Development
  • CSS
  • Stretch background image css
Stretch background image css 0 votes <td class="style1" align='left' height='35'> <div style='overflow: hidden; width: 230px;'> <a class='link' herf='' onclick='topic(<?=$key;?>)'> <span id='name<?=$key;?>'><?=$name;?></span> </a> </div> </td>

This is my CSS script

.style1 { background-image: url('http://localhost/msite/images/12.PNG'); background-repeat: no-repeat; background-position: left center; }

I want to stretch the background image all over the <td> cell

  • html
  • css
  • background
Jul 11, 2022 in CSS by Edureka 13,620 points 675 views answer comment
  • flag

Your comment on this question:

Your name to display (optional):
Email me at this address if a comment is added after mine:
Privacy: Your email address will only be used for sending these notifications.
Add comment Cancel

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Privacy: Your email address will only be used for sending these notifications.
Add answer

Related Questions In CSS

0 votes 1 answer

How do I give text or an image a transparent background using CSS?

Use either a semi-transparent PNG or SVG ...READ MORE

answered May 27, 2022 in CSS by Edureka 12,690 points 619 views
  • html
  • css
  • opacity
0 votes 1 answer

Position a CSS background image x pixels from the right?

The attribute border can be used as ...READ MORE

answered Jun 10, 2022 in CSS by Edureka 12,690 points 925 views
  • css
0 votes 1 answer

When to use IMG vs. CSS background-image?

You can transition a div's background image ...READ MORE

answered Jun 10, 2022 in CSS by Edureka 12,690 points 883 views
  • html
  • css
  • image
  • background-image
0 votes 1 answer

How to use CSS media query to scale background-image to viewing window

If you only want the desktop version ...READ MORE

answered Jun 17, 2022 in CSS by Edureka 12,690 points 1,320 views
  • css
  • mobile
  • mobile-safari
  • background-image
  • media-queries
0 votes 0 answers

CSS gradients vs background Image?

What is the difference between CSS gradients ...READ MORE

Jun 22, 2022 in CSS by Edureka 13,620 points 505 views
  • html
  • css
0 votes 0 answers

CSS: background image on background color

If this panel is chosen, a panel ...READ MORE

Jun 22, 2022 in CSS by Edureka 13,620 points 526 views
  • css
  • background
  • background-image
  • background-color
0 votes 0 answers

CSS background image that can scroll

I'm attempting to make a backdrop image ...READ MORE

Jul 5, 2022 in CSS by Edureka 13,620 points 1,759 views
  • html
  • css
  • background
  • background-image
0 votes 0 answers

CSS background image URL path

Hello, I'm attempting to utilise CSS to ...READ MORE

Aug 10, 2022 in CSS by Edureka 13,620 points 1,141 views
  • html
  • css
  • image
  • background
0 votes 0 answers

Css background video

Could someone please center the background of ...READ MORE

Aug 19, 2022 in CSS by Edureka 13,620 points 430 views
  • html
  • css
  • video
  • background
0 votes 0 answers

Javascript remove background color and opacity

How can I delete the background-color  ...READ MORE

Dec 6, 2022 in Java by Nicholas 7,760 points 2,758 views
  • javascript
  • html
  • css
  • background
  • opacity

Recent in CSS

  • CSS opacity - background colour Aug 23, 2022
  • How to use css modules with create-react-app? Aug 23, 2022
  • How to combine bold and italic in CSS? Aug 23, 2022
  • How to adjust the amount of space between two lines at each <br> in CSS? Aug 23, 2022
  • How can I create a marquee effect? Aug 23, 2022
  • All categories
  • Artificial Intelligence Artificial Intelligence (3)
  • Generative AI Generative AI (173)
  • ChatGPT ChatGPT (21)
  • Apache Kafka Apache Kafka (84)
  • Apache Spark Apache Spark (596)
  • Azure Azure (157)
  • Big Data Hadoop Big Data Hadoop (1,907)
  • Blockchain Blockchain (1,673)
  • C# C# (141)
  • C++ C++ (272)
  • Career Counselling Career Counselling (1,060)
  • Cloud Computing Cloud Computing (3,698)
  • Cyber Security & Ethical Hacking Cyber Security & Ethical Hacking (408)
  • Data Analytics Data Analytics (1,266)
  • Database Database (858)
  • Data Science Data Science (78)
  • DevOps & Agile DevOps & Agile (3,805)
  • Digital Marketing Digital Marketing (121)
  • Events & Trending Topics Events & Trending Topics (28)
  • IoT (Internet of Things) IoT (Internet of Things) (387)
  • Java Java (1,296)
  • Kotlin Kotlin (8)
  • Linux Administration Linux Administration (389)
  • Machine Learning Machine Learning (337)
  • MicroStrategy MicroStrategy (6)
  • PMP PMP (536)
  • Power BI Power BI (808)
  • Python Python (3,223)
  • RPA RPA (653)
  • SalesForce SalesForce (122)
  • Selenium Selenium (1,571)
  • Software Testing Software Testing (58)
  • Tableau Tableau (608)
  • Talend Talend (73)
  • TypeSript TypeSript (124)
  • Web Development Web Development (3,188)
  • Ask us Anything! Ask us Anything! (70)
  • Others Others (2,245)
  • Mobile Development Mobile Development (395)
  • UI UX Design UI UX Design (24)

Join the world's most active Tech Community!

Welcome back to the World's most active Tech Community!

Sign up with Gmail Sign up with Facebook

OR

Password must have

At least 1 upper-case and 1 lower-case letter

Minimum 8 characters and Maximum 50 characters

SIGN UP Already have an Edureka Account? Login Forgot Password? LOGIN Don’t have edureka account? Sign Up resend ? Password must have

At least 1 upper-case and 1 lower-case letter

Minimum 8 characters and Maximum 50 characters

reset password Don’t have edureka account? Sign Up reset password Don’t have edureka account? Sign Up Send Code Don’t have edureka account? Sign Up

Subscribe to our Newsletter, and get personalized recommendations.

Google Sign up with Google facebook Signup with Facebook

Already have an account? Sign in.

webinar REGISTER FOR FREE WEBINAR X Years of Experience* Student 0-2 Years 2-5 Years 5-10 Years 10+ Years REGISTER NOW webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP "PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.

Từ khóa » Html Background-image Center Stretch