I'm trying to get to this page ( http://musicaladvocacy.org/ ) in the area where it says "Home" (White Container in a gray gradient) to go ~ 60 pixels up, but as you can see, it does this. and also moves the parent container up. I just want the white box to move up, and not all. Therefore, it should look like this: http://musicaladvocacy.org/index-margin.jpg
Thanks for any ideas!
You can apply position:relative; top:-60px;to the item you want to move.
position:relative; top:-60px;
#el { position:relative; top:-60px; z-index: 5; }
1px .
.width { padding-top: 1px; } .content { margin-top: -60px; }
, , , .
What you are looking for are the css properties "position" and "top".
#div-1 { position:relative; top:-60px; }
See step 2 in this guide . Many other websites have additional information about these properties.
Source: https://habr.com/ru/post/1677638/More articles:json_object and the dart: mirror - dartUser input for creating objects - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1677635/marshalling-two-similar-json-fields-to-the-same-java-field&usg=ALkJrhiDAzllchSNTTb7sDdvNy_gmzKOCwUnable to understand negative margin - htmlПочему код Visual Studio говорит мне, что cout не является членом пространства имен std? - c++angular - using PrimeNG with Bootstrap 4 - angularPHP default string encoding - phpWhy is this code not verified? - c #Collecting cards without listing them - collectionsRemove mutable duplicate words from strings in \ list - c #All Articles