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

Flatten nested javascript array

Array reversal in Recurrsion

binary tree problems with solution

Find the first occurence of number in the sorted array

Check if two strings are anagrams or not

Find K Complementary numbers from array Java implementation

Implement Queue Using two Stacks – JavaScript algorithm

Changing decimal number to its binary equivalent

Implementing tokenizer and adding tokens to the linked list

Leave a Reply

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

*
*