How can I make a custom rule, or a list with custom bullets?

Answer Posted / guest

There was a proposal in the now-expired HTML 3 draft to
handle exactly this: just add SRC to the <HR> or <UL> tag,
indicating where the image can be found. But until this is
more widely supported, you have to use <IMG> for the rule,
with a lot of "--" characters as ALT text for text browsers,
and using a <DL> with only <DD> tags for each item. Make
sure you use ALIGN for the image, which should go at the
beginning of the item, of course. This isn't as beautiful as
a "real" list.

An alternative is using a two column table, with the bullets
in the left column, and the text in the right. But this
won't work well on non-table supporting browsers.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which JavaScript objects are not accessible to web worker?

605


What are different html tags?

581


How do you center a tag in html?

572


What are attributes and how do you use them?

635


What is the html5 stack?

779


In html5, what is a microdata?

638


What is the code for change every 3rd li color of ul with css.

1134


How can I include comments in html?

700


What are the components of dynamic html authoring?

650


What do you mean by style sheet?

610


How do you insert a comment in HTML?

601


Is html the only markup language?

597


What is the form tag?

628


How many web browsers does html5 support?

576


hi, What will be the connection string coding while developing one web page and the back end of HTML web page is Open Office Base (database). Also what will be insert query if we want to add value of field in a table, field is present on HTMl page. Thx in advance

1660