+ 5
Please how do remove my image background and set it to use my designed html document background
5 ответов
+ 5
Immaculate Prince please clarify your question as merely removing a background image is usually as easy as deleting css background-image: url(url);
as Josh Greig pointed out.
+ 4
Can you link to this page or sololearn playground code? That would clarify a lot.
I don't know what you're asking merely from the question and strongly suspect other people seeing this question will have a similar problem. If I saw your page I might quickly understand what you mean by "image background" and "html document background". Any element can have a background-image CSS property or a background-color. The body element commonly has those set but it isn't really clear if that's what you mean. I also see "<img>" in your tags so you might be using an img tag in HTML but that's usually not described as a background.
+ 4
Maybe she wants the background to be text
0
You know if you download a photo, or the one you have in your local file, the image must have it's own background, it's that follow come background of the photo I wanted to remove using my css file.
I put photo in my html file from my local file, but I wanted to remove the background that originally come with the image and set a new image background using my css file but unfortunately I couldn't so I need help here please.
0
Immaculate wrote, "You know if you download a photo, or the one you have in your local file, the image must have it's own background, it's that follow come background of the photo I wanted to remove using my css file.
I put photo in my html file from my local file, but I wanted to remove the background that originally come with the image and set a new image background using my css file but unfortunately I couldn't so I need help here please."
Response:
Immaculate, can you share your broken CSS code for this question like you did with https://code.sololearn.com/WvSyOGJ46o0Y ?
I don't know what you're trying to say about downloading an image. All I get is that you're replacing an image in CSS which is usually quite straightforward. You just replace a URL.
The most complex case for replacing a background-image URL would be converting an image to a data URL and pasting that since Sololearn doesn't allow people to upload images separately. More is discussed on that here: https://www.sololearn.com/Discuss/1924077/can-we-add-images-in-sl