0

please why can't I fit size in pc,the Google 9 dot App icon

We working on a bootcamp project where we are to code a Google homepage replica.our instructor imported the 9 dot icon and sized to 20px height and it worked but I do same and it's oversized on my PC,but then I did it here on my mobile and it worked, please why can't I get it on pc.Below is the one that worked on mobile. https://code.sololearn.com/Wl1N7oqYtwmY/?ref=app

6th May 2022, 8:58 PM
steve Purpose
steve  Purpose - avatar
11 Antworten
+ 1
What editor are you using on your PC?
6th May 2022, 10:26 PM
Chris Coder
Chris Coder - avatar
+ 1
Did you remember to link your css file to your HTML?
6th May 2022, 10:48 PM
Simon Sauter
Simon Sauter - avatar
7th May 2022, 1:52 AM
JaScript
JaScript - avatar
+ 1
Have you tried a different value for height to see if there's any change?
7th May 2022, 2:42 AM
Simon Sauter
Simon Sauter - avatar
+ 1
Try inline or embedded styling. If that works there's probably an issue with your css link.
7th May 2022, 2:51 AM
Simon Sauter
Simon Sauter - avatar
+ 1
try putting the css within the html: <style> img{ height: 20px; } </style> if it works, then the external css file is not linked properly, is not found, or there is an error in it.
7th May 2022, 4:01 AM
Bob_Li
Bob_Li - avatar
0
Yeah I linked files
7th May 2022, 2:35 AM
steve Purpose
steve  Purpose - avatar
0
Yeah reduced to as much as 5px,still no change..Only changes when I use my mobile.
7th May 2022, 2:44 AM
steve Purpose
steve  Purpose - avatar
0
Ok..I'll try that.Every other csss I used worked though ,just the image..so I don't think it's a link issue
7th May 2022, 3:14 AM
steve Purpose
steve  Purpose - avatar
0
Will try that at Bob_Li ,but if every other css is working properly ,can this be an issue?
7th May 2022, 4:34 AM
steve Purpose
steve  Purpose - avatar
0
typo error or punctuation error will disable a style.
7th May 2022, 5:10 AM
Bob_Li
Bob_Li - avatar