3
I’m watching a tutorial, where the teacher at a certain moment, minute 28, establishes the style of the elements of a ul
to create a horizontal navigation bar, and do it using be the float:left
that the display:inline
. The problem is that I had seen yesterday that the methods I quoted above are two different methods to get the horizontal bar, but then because it uses both contemporaneously?
.mainheader nav ul li{
float:left; /* li are set to the left of their "brothers"*/
display:inline;
}
Note: I removed my previous answer as it was incorrect.
– bfavaretto