Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPreben Finnøy Olafsen
3,459 PointsGap on left and right - Also how to remove bulletpoints?
For some bad code; http://justpaste.it/code123443143
All answers are appreciated thx.
4 Answers
Konrad Pilch
2,435 PointsHeres an example, experiment with it and u will get the idea.
And I dont understand that language : p
Konrad Pilch
2,435 PointsHI,
I sugest to re-watch it all.
For non decoration try this :
ul, li{
padding:0;
margin:0;
text-decoration: none;
}
Konrad Pilch
2,435 PointsAnd this shall remove the gap on the left, assuming i know what you mean .
Preben Finnøy Olafsen
3,459 PointsI have. Several times. However, the bullet points does not go away.
At all...
Konrad Pilch
2,435 PointsCan you paste your html please?
Preben Finnøy Olafsen
3,459 Pointshttps://gist.github.com/anonymous/6f37de119f700beab9ba
Thank you for taking some of your time btw.
Preben Finnøy Olafsen
3,459 PointsLink is in the comments. Thank you all for helping.
Preben Finnøy Olafsen
3,459 PointsPreben Finnøy Olafsen
3,459 PointsThank you sir! However, I still have these huge colour gaps on all sides. Is it just my live preview beeing weird?
https://gyazo.com/6ba4b4e418df29574d11524ebc685234
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsIm not sure what do u mean? Do you mean the line that goes all over the box thats inside the box?
Preben Finnøy Olafsen
3,459 PointsPreben Finnøy Olafsen
3,459 PointsHope you enjoy the pictures!
https://gyazo.com/1da4d30a0af2fd978f36f49ba9710336 Full screen
https://gyazo.com/d95b4de1f7fe153e127ca977994b49b0 How it is supposed to look like
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsMaybe i know what u mean.
Uncoment the commented CSS here
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsLol. basically add margin:0 to body .
Preben Finnøy Olafsen
3,459 PointsPreben Finnøy Olafsen
3,459 PointsTHANK YOU!
He didnt do it in the video... So as the noob I am. I felt quite lost haha... Thanks again sir!
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsNo problem! :) Im glad i could help you:) lots and lots of people help me here with lots of challenges from me :)
Try to go and watch how to debug HTML. Or how to use dev tools, it will really help. Its basically ' Inspect Element' and then u go on bottom left top of the box that will apear and press the magnificent glass and aim what u want. Hope u get the idea!
Good Night and Happy Coding! perhaps in ur ground is sunny :) then have nice day