Client LoginView your Shopping CartHelp & Frequently Asked QuestionsEmail Us
Home Services Portfolio Web Design Pricing Dreamweaver Templates Web Applications Free Tutorials About Contact Us
Services > CSS 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 | Logo Design Portfolio | Web Design Pricing > Custom Web Design | Logo Design | Business Card Design
Web Design Guide > Website Design w/ Dreamweaver & Fireworks | Fireworks CS4 Cool Features | Photo Effects | Text Effects | Graphic Design Ideas | Web Design Ideas
Website Navigation Ideas | CSS Styles Tutorial | Dreamweaver Template | Server Side Includes | Flash Tutorials > Flash Effects | Flash Sound Button | Sound On/Off Button
Flash Preloader | Import External Data | Promotion > SEO Tips | Google Tips & Page Rank | JavaScript > Date Validation | Email Validation | Phone Validation | Tip Boxes

Cool Bullets Tips

How to create bullets in HTML and/or CSS with Dreamweaver

This article deals with how to use bullets in HTML or CSS with Dreamweaver (recommended). We can give images, shapes, alphabets, decimal and roman numerals properties to bullets by using the <ul> or <ol> tags, CSS Styles or tables.


Software Required

Adobe Dreamwever (Macromedia Dreamweaver prior to version 8). Please check out the compatible versions listed in the box below. Since this tutorial series covers the core functions of Dreamweaver to create bullets in HTML/CSS using Dreamweaver, mostly any version of these software should be fine.

Recommended version: Adobe Dreamweaver CS4

Compatible Versions of Dreamweaver for this Tutorial

Dreamweaver MX/MX 2004 | Dreamweaver 8 | Dreamweaver CS3 | Dreamweaver CS4
Note: Instructions remain same across all versions listed above, though some visual interface images might differ.

Prerequisite Knowledge

This tutorial teaches you how to create bullets in HTML/CSS using Dreamweaver and thus assumes you are familiar with some design software, even if you are new to Adobe Dreamweaver. However be assured that our detailed instructions can be followed by even a total novice.


You Are Here ::: Home >> Free Tutorials >> Dreamweaver Tutorials >> Cool Bullets Tips

To summarize, bullets can be displayed in the following ways:

  1. Setting the type attribute for the <ul> and <ol> tags.
  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 an image.

Setting the type attribute for the <ul> and <ol> tags

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

Using CSS styles by specifying a class attribute to the <ul> or <ol> tags

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

Tip: For creating lists in smaller width areas of your web page - use CSS to set margins to zero for the ul tag and give the image bullet as background for the li tags.

We would love to hear your comments and any suggestions on future tutorials we can add to this section. Thanks!

Fill the below form to submit your comments (or suggestions):
Bookmark and Share this web page.
Sponsored Link(s):
Beauty Templates | Business Templates | Christian Templates | CSS Templates | Education Templates | Family Templates | Flash Templates | Free Dreamweaver Templates
Food Templates | General Templates | Government Templates | Health/Medical Templates | Hi-Tech Templates | Kids/Childcare Templates | Low-cost Budget Templates
Personal Templates | Pets Templates | Photography Templates | Profession Templates | Real Estate Templates | Sports Templates | Telecom Templates | Travel Templates
Free Tutorials > Web Design Tutorials | CSS Web Design | Fireworks Tutorials | Dreamweaver Tutorials | Flash Tutorials | SEO Tutorials | Javascript Tutorials | PHP Tutorials