0
Hi how to write a orderedlist or or uorderedlist horizantale?
Exemple.. 1. Red 2. Green 3. Blue
4 odpowiedzi
+ 1
You can change the list elements' display style, making them inline:
li {
display: inline;
}
+ 1
After writing the list code in html use css to alter the display like this
HTML-
<ol>
<li>Red</li>
<li>Green</li>
<li>Blue</li>
</ol>
CSS-
Ol{
Display:inline;
0
Thanx alot to all