+ 2
Why my code has space between nav and div and section i cleared all the margin and padding
Plz go to my code and help me out https://code.sololearn.com/W6puD5sZML8F/?ref=app
27 Respostas
+ 1
* = all elements. that would be the first instruction of the css. before body
+ 3
nav ul {
display:flex;
padding: 0;
}
+ 3
try this in te first line:
* {
margin: 0;
padding: 0;
}
Unify this for all selectors and then adapt each item as you like.
+ 1
Please show your code here so that we can help you
https://www.sololearn.com/post/75089/?ref=app
+ 1
and check...
<img src="danielalanaz.jpg"
* you need: >
and also use h1 in <header>
+ 1
Heracles Ezzequiell sry i didn't get it what is that (*) what does it mean and where should i put it
+ 1
* {
margin: 0;
padding: 0;
}
body{
...
}
+ 1
Heracles Ezzequiell thank you so much man i have watched some videos on youtube and seen some codes but never seen that
+ 1
daniel, compare this with your html an css. Is this what you want?
be careful with the use of div!!!
<p> </p> = paragraph, <br> = line break.
https://code.sololearn.com/Whn2OtE4x92T/?ref=app
+ 1
other things can be improved but look where I put the section that contains "abaut me", look at the h1 of the header. Look at the img and others haha āātag. look also the css. summarize the code to the maximum. forgive me for my english haha š¤¦š»āāļø
+ 1
daniel "about meā to the center?
+ 1
some like this
li{
display: inline-block;
padding: 5px;
border: 1px solid #000;
}
+ 1
Heracles Ezzequiell ty for helping me out man much appreciated
0
Gordon i have done it can u help me
0
CalviÕ² but my padding shouldn't change it right bcz it's just making space in for the text in the same background i just want the space outside the header to be removed
0
Heracles Ezzequiell does this star refers to the whole html?
0
Heracles Ezzequiell i feel like div is the easiest to use even that i have so many problems with it
0
Heracles Ezzequiell i am still doing some edits on my code it looks better now but i still want to move the text to the center and i don't know how
0
I have been trying position or align but nothing is working
0
Heracles Ezzequiell about me or other things like in general i want the text to move to center how should i do that