M
M
Maxim Tyulpakov2015-10-30 15:43:09
css
Maxim Tyulpakov, 2015-10-30 15:43:09

Is it correct to place inside a UL list like a DIV?

And in general, the situation due to which the question was born:
I want to place a date window in a two-line form at the end of the navigation line and I don’t understand how to align it and raise it higher387617292cdc40808b9790397b77cb90.JPG

.main-menu li{
  display:inline;
  margin-left:50px;
}
.date{
  color:white;
  font-size: 90%;
  float: right;
  margin-right: 40px;
  text-align:center;
  border:solid 1px;
  padding:5px;
}

After pulling out the div for navigation, this is what happened.
16740aa2acbc4c06b2dc721c0574db49.JPG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
inDeepCode, 2015-10-30
@inDeepCode

not right.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question