0
Please who can tell me the use of this code .container {width:100%;}
.container {width:100%;}
11 Answers
+ 3
It is a class called container that has the width of 100% of its parent element.
+ 2
I told you what it does... Maybe you would like to do the sololearn CSS course to find out about styles and classes?
0
I've seen people using it. Why do they use it. What's it's purpose
0
I know about classes and some styles. I think I know stuff but not how to use it
0
I think I understand. When you use set the container width to auto and the margin is 200px and you resize the window, there won't be a scroll bar at the bottom but when you set the container width to 100% and margin is 200px and you resize the window there will be a scroll bar at the bottom
0
Please how can I add a link that will force the browser to download an image from a link. The images here are not showing
https://code.sololearn.com/WBTsI1cqgruo/?ref=app
0
The Google logo won't load because the link in img doesn't point to the image but only to the page where the image is. (It should end with .png or something like that)
The other links seem to be local files. Sololearn doesn't have access to you local storage so it won't work here.
0
It's not working. Can you help me download a Google logo and put it there so I'll see how the link is
0
For example:
<img class = "google" src ="https://upload.wikimedia.org/wikipedia/commons/2/2f/Google_2015_logo.svg" alt = "googlelogo">
0
Thank you
0
I made changes to the code. I did a lot of nonsense. If you have any opinion, tell me.
https://code.sololearn.com/WOcshfDa6p8B/?ref=app