A little bit of help

html-css

#1

well my brother made me do a project from his university school, it isnt hard but the problem i have here is for a navigation bar, with that i do this coding (i put it all because i wanted to be sure that i did it correctly) with the coding i did my navbar went to the top of the page and i dont know how to move it downwards (i forgot i didnt code for about 3 or maybe 4 months) so i need some help :slight_smile:

div {
display :block;	

}
#page{
	height: 1916px;
	width: 960px;
	background-color: white;
	margin: 0 auto;
}

#header h1{
	font-size: 100px;
	font-family: bold;
	color: black;
	float: right;
	margin-left: 200px;
	margin-top: auto;
}

#header span{
	font-size: 50px;
	font-family: Ariel;
	color: aqua;
}

#bar {
	height: 40px;
	background: #a7e0ee;
	margin-bottom: 100px;
}

#bar ul {
	padding: 0;
	list-style: none;
	margin-left: 20px;
	margin-top: 6px;
	
}

#bar ul li {
	display: inline;
	font-family:bold;
	font-size: 25px;
}

#bar ul li a {
	text-decoration: none;
	float: left;
	display: block;
	padding: 10px 20px;
}

#2

Add padding-top adjust and see how many px you need


#3

XD nevermind it since i wasnt getting a reply for a long time i thought lets put it on another disscussion and it worked :smile:


#4

This topic was automatically closed after 7 days. New replies are no longer allowed.