Welcome to Bucaro TecHelp!

Bucaro TecHelp
Maintain Your Computer and Use it More Effectively
to Design a Web Site and Make Money on the Web

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact RSS News Feeds News Feeds

Victims of Sandy Hook

Stop the Slaughter of Innocents. Congress is bought and paid for by gun lunatics and gun promotion groups. If you want to live in a safe America, help buy Congress back for America. Send a donation to Mayors Against Illegal Guns, 909 Third Avenue, 15th Floor New York, NY 10022

How to Use a Starburst on Your Web Page

A "starburst" is a Web graphic that depicts a star or an explosion. Within the starbust is some exclamatory advertising text like "Free!", "New!", or "Sale". The starburst draws the viewers attention to the exclamatory advertising text.

A starburst can be entirely graphic, that is, the starbust and the text are all in one graphic image. An entirely graphic statburst has the advantage that it's easy to create, and you have complete control of the appearance of the text. It has the disadvantage that, when you need to change the text, you need to edit the graphic in an image editing program.

In this article, I show you how to use a starburst graphic with text that you type in and it appears within the starbust. This has the advantage that you can change the text without editing the graphic. This would be a great advantage if you need to change the advertising text frequently, for example if a sale price changes frequently.

Our method to accomplish this task is to use the starburst graphic as the background image for a DIV element. The text will be placed within another DIV element that is nested inside the DIV with the starburst background. We'll use style to define the location and appearance of the text.

Shown below is the DIV with a starburst graphic configured as its background.

<div style="width:129px; height:95px;
background-position: 0px 0px;">

In the DIVs style attribute, the width and height properties are set to the same dimensions as the Width and height of the starburst graphic.

Note - in this article, Iím placing the style code inline. Normally style code is placed in an external file which is linked to the webpage. If you're going to use only one instance of a starbust on your web site, then inline style code is best. If you're going to use multiple instances of a starbust, then external style code is best.

RSS Feed RSS Feed

Follow Stephen Bucaro Follow @Stephen Bucaro

Web Design Sections

Fire HD
[Site User Agreement] [Privacy Policy] [Site map] [Search This Site] [Contact Form]
Copyright©2001-2016 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268