Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Use Different Markers on Unordered List Items
How To Use Different Markers on Unordered List Items? - XHTML 1.0 Tutorials - Understanding Lists and List Items
✍: FYICenter.com
By default, browsers will use solid dots as the item markers for unordered lists. If you want to change them to something else, like tiny squares, you need to use CSS properties. Here is a tutorial example showing you how to set item markers to be tiny squares:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>List Item Markers</title> </head> <body> <h4>Search Engines:</h4> <ul style="list-style-type: square"> <li>google.com</li> <li>yahoo.com</li> <li>msn.com</li> <li>ask.com</li> </ul> </body> </html>
If you save the above document as square_item_marker.html, and view it with
Internet Explorer, you will see a list of 4 items with tiny squares as item markers as shown below:
2007-05-11, 5155👍, 0💬
Popular Posts:
What is the difference between CALL_FORM, NEW_FORM and OPEN_FORM? CALL_FORM: start a new form and pa...
What is the output of printf("%d")? 1. When we write printf("%d",x); this means compiler will print ...
.NET INTERVIEW QUESTIONS - How to prevent my .NET DLL to be decompiled? By design .NET embeds rich M...
What are the different storage classes in C? C has three types of storage: automatic, static and all...
How can I construct preprocessor if expressions which compare strings? You can't do it directly; pre...