Client LoginView your Shopping CartHelp & Frequently Asked QuestionsEmail Us
Home Services Portfolio Rates & Deals Dreamweaver Templates Web Applications Free Tutorials About Us Contact Us
Web Design Guide > Best Web Design Tools | Web Design Ideas | Web Design Tips | Navigation Tips | Fireworks Tips | Rollover Images | Swap Images | CSS Styles Tutorial
Dreamweaver Tips | Dreamweaver Template | Server Side Includes | Dreamweaver Behaviors | Flash Tutorials > Flash Effects | Flash Sound Buttons | Sound On/Off Button
Flash Preloader | Importing External Data | Promotion > SEO Tips | Google Tips & Page Rank | JavaScript > Date Validation | Email Validation | Phone Validation | Tip Boxes

Using Bullets in HTML or Macromedia Dreamweaver

Tool(s) Required:

HTML Editor: Any
Recommended: Adobe Dreamweaver CS3

This article deals with how to use bullets in HTML or Macromedia Dreamweaver. To summarize, bullets can be displayed in the following ways:

  1. Using the <ul> and <ol> tags with or without the type attribute set.
  2. Using CSS styles by specifying a class attribute to the <ul> or <ol> tags. The bullet type can be either the regular HTML types or bullet images.
  3. Using Tables and image bullets, lists can be created within small areas. For example take a look at the related links in the left menu. Notice how image bullets are used for listing out the Fireworks Tips.

1. Using <ul> and <ol> tags with or without the type attribute

Bullet Type HTML Code Example
<ul><li>List Item 1</li></ul>
  • List Item 1
<ul type="square"><li>List Item 1</li></ul>
  • List Item 1
<ul type="circle"><li>List Item 1</li></ul>
  • List Item 1
<ol><li>List Item 1</li></ol>
  1. List Item 1
<ol type="i"><li>List Item 1</li></ol>
  1. List Item 1
<ol type="I"><li>List Item 1</li></ol>
  1. List Item 1
<ol type="a"><li>List Item 1</li></ol>
  1. List Item 1
<ol type="A"><li>List Item 1</li></ol>
  1. List Item 1

2. Using CSS styles by specifying a class attribute to the <ul> or <ol> tag

Create a CSS style called bullet by using the HTML code below or by using Dreamweaver.

HTML Code: <style type="text/css">
<!--
.bullet {list-style-type: disc;}
OR
.bullet {list-style-image: url(/images/icons/bullet.gif);}
-->
</style>

<ul class="bullet"><li>List Item 1</li></ul>
Create Using Dreamweaver:
  1. Open the CSS Styles pallet by clicking on Window > CSS Styles
  2. Click the New CSS Style button and give the name of the style as .bullet. Define it for either only the current document or for a Style Sheet file.
  3. In the CSS Style definition window, go to the List Category and set the type or bullet image and Save the style.
  4. Create your list of items using the default bullet. To apply the style, select the <ul> or <ol> tag in the tag selector located at the bottom left of the Document window. Right Click and Set Class to bullet.

Change the list-style-type property to get the different bullets and the image property to give an image as the bullet.

Bullet Type CSS Style Code Example
.bullet {list-style-type: disc;}
  • List Item 1
.bullet {list-style-type: square;}
  • List Item 1
.bullet {list-style-type: circle;}
  • List Item 1
.bullet {list-style-type: decimal;}
  1. List Item 1
.bullet {list-style-type: lower-roman ;}
  1. List Item 1
.bullet {list-style-type: upper-roman;}
  1. List Item 1
.bullet {list-style-type: lower-alpha;}
  1. List Item 1
.bullet {list-style-type: upper-alpha;}
  1. List Item 1
.bullet {list-style-image: url(/images/icons/arrow.gif);}
  1. List Item 1

3. Using Tables and image bullets, list can be created within small areas

For this create an image bullet and do the following:

  1. Create a Table with each row having the same height. Now place the list items into their respective rows.
  2. Now in front of the first item place the bullet image.
  3. For the selected bullet image give the align property as absolute middle.
  4. Now copy-paste the bullet in front of all the other list items and your table bullet list is ready.

This page is part of the SmartWebby's Free Web Design Guide, a collection of free web design tutorials, articles, tips and guidelines on effective web site design. From web design tips, techniques and ideas to HTML, CSS Styles, Fireworks and Dreamweaver tutorials you'll find all you need to know about web design right here!

SmartWebby.com is the web design flagship website of Jandus Technologies, a global provider of 'smart, innovative & fresh' best web design and rapid web programming services - highly professional, of top quality and globally affordable. Operational since January 2001, we have successfully built professional web sites for clients from all over the world (USA, UK, Canada, Australia, India, Greece, Denmark, Singapore, etc.). By creating attractive low-cost web designs that are W3C standard compliant, load-time and search engine optimized, we beat our competitors hands down comprehensively - in value, time and pricing. We specialize in Rapid SEO Web Design using Adobe Tools; W3C compliant tableless CSS & HTML/XHTML programming; Rapid ASP.net, AJAX, ASP and PHP web programming for database driven web sites and ecommerce web design; Quality Logo Design, Flash Animation and Interactive Flash Programming. No matter what your requirements are, our team of highly trained experienced web designers is capable of delivering a website that's over & above your expectations. Write to us for your free web design quote today! Also check out our Custom Web Design Packages and Professional Dreamweaver Templates for easy DIY websites templates.

Absolutely FREE Web Templates
Check out these quality free web templates and download them without any registration or sign-up!

FREE Flash Actionscript & Animation Guide
Learn Flash the easy way using these easy-to-follow tutorials! Get your basics right or learn advanced flash actionscript!

Quality Dreamweaver Templates
Professional quality dreamweaver templates in over 20 categories, starting at just $9.95! Instant download & easy customization

Services > Rapid Web Design | Professional Logo Design | ASP.net, ASP & PHP Programming | Flash Animation & Programming | Reliable Web Hosting | Website Maintenance
Portfolio > Web Design Portfolio | Web Programming Portfolio | Print & Logo Design Portfolio | Flash Animation Portfolio | Outsource Clients Portfolio | Client Testimonials
Rates & Deals > Web Design Rates | Custom Web Design Pricing | Logo Design Pricing | Business Card & Letterhead Pricing | Web Hosting Plans | Website Maintenance Plans