Esküvő

OL and UL List CSS Style

Ol and ul can be styled with list-style-type CSS property.

HTML markup

<ol>
 <li>First element</li>
 <li>Second element</li>
 <li>Third element</li>
</ol>

<ul>
 <li>First element</li>
 <li>Second element</li>
 <li>Third element</li>
</ul>

CSS

The default value for ol list-style-type is decimal, forl ul is disc.

<style type="text/css">
ol{
 /* Valid options: decimal, decimal-leading-zero, lower-alpha, lower-roman, none, upper-alpha, upper-roman */
 list-style-type: lower-alpha; 
}
ul{
 /* Valid options: circle, disc, none, square */
 list-style-type: square; 
}
</style>

Demo »


Esküvő


Related articles

Redirect www to non www with .htaccess RewriteRule

Redirect www to non www with .htaccess RewriteRule

05/12/2015

Redirect your websites visitors from www.domain.com to domain.com without www.

Unordered List Style Image CSS

Unordered List Style Image CSS

06/03/2013

Learn how to style UL with any image using CSS.

Tipsy jQuery Tooltip

Tipsy jQuery Tooltip

20/02/2013

Tipsy is a jQuery plugin for creating a Facebook-like tooltip effect based on an anchor tag′s title attribute.


Leave a comment

We welcome any comment from you! Please keep in mind that comments are moderated and rel='nofollow' is in use. So, please do not use a domain as your name or a spammy keyword, or your comment will be deleted.

Name: *

E-mail: *

Message: *

Click on the car *


Find us on Facebook

Tags

Esküvő

Back to Top