Total members 11895 |It is currently Sun Dec 22, 2024 2:51 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





In this example we remove the numbers appears in the ordered list when using OL tag using the CSS properties.

Code:
<html>
<
head>
  <
title>Remove ordered list numbers</title>
  <
meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <
style type="text/css" media="screen">
  
#RemoveListnumber {
    
list-stylenone;
    }

  </
style>
</
head>

<
body>

    <
center>
     <
p>
       
In this example we remove the numbers in 
       the ordered 
list.
     </
p>
    </
center>
<
div  >
  <
ol id="RemoveListnumber">
    <
li id="one">Option1 </li>
    <
li id="two">Option2 </li>
    <
li id="three">Option3 </li>
    <
li id="four">Option4 </li
    <
li id="five">Option5 </li>
  </
ol>
</
div>



</
body>
</
html>

 




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : Remove ordered list numbers
 ordered list with roman numbers     -  
 creating non ordered list using UL tag.     -  
 nested ordered list     -  
 Add border around ordered list elements     -  
 ordered list from specific number     -  
 unordered-ordered-Definition-list-HTML-Tags     -  
 Remove Indentation     -  
 Remove all the vowels from a string     -  
 remove page title     -  
 Remove border of the linked image     -  



Topic Tags

HTML List
cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com