Convert list tag li to horizontal links using CSS

Convert list tag li to horizontal links using CSS

Anybody involved on the front part of the web would be using it since s/he is 3 or something..
but if your programming time logs heavily show you are working much on the backend stuff.. this might help a bit..

here is the given list
<pre>
<ul>
<li>link1</li>
<li>link2</li>
</li>http://gullele.wordpress.com</li>
</ul>
</pre>

do the following css and it would take of making it horizontal

<pre>

ul{

margin:0;

padding:0;

}

li{

display: inline;

padding: 0 0 0 0 – give appropriate values here based on your chice

}

</pre>

This shall produce a li tag being on the horizontal..

 

See how you would solve these known algorithm problems

Get maximum occurring character

Find longest palindrom from sequence of characters

Flatten nested javascript array

testing k complementary pairs algorithm with junit

Check if two strings are anagrams or not

String Ordered Permutation Algorithm Problem

binary tree problems with solution

Finding missing numbers from billion sequential number list file

Java solution for checking anagram strings – tell if phrases are anagrams

Implement Queue Using two Stacks – JavaScript algorithm

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*