SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arrow making a dot using html

    Hi --

    Is there a way to achieve a circle (or square) dot using html code? Basically, I want to know if there's code that will produce the same dot that <li> creates (only I don't want it in a list).

    I'm also hoping I can stay away from using a .gif!

    Thanks.

    Josh

  2. #2
    SitePoint Columnist Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know you can use &amp;middot; to create a small dot: &middot;

    I don't think there is an entity code for the bullet you get on <ul> lists - however you could use CSS to alter a list item so that it has no indentation and doesn't act as a block level element (thus allowing you to embed a bullet in the middle of a sentence).

  3. #3
    SitePoint Member
    Join Date
    May 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making a dot with HTML code.

    You can make a round dot using HTML coding: •

    Put these symbols all together:
    & # 0 1 4 9 ;

    harddirt

  4. #4
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try &bull; -- &amp;bull;

  5. #5
    SitePoint Columnist Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I stand corrected

  6. #6
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's exactly what I was looking for! Thanks! Is there also code to achieve a square dot??

    Josh

  7. #7
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Only in Unicode. You can get the code for any character in your chosen font by using Character Map in Windows. The code would be &###; where ### is the three digit ASCII equivalent for the number.
    Wayne Luke
    ------------


  8. #8
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Uh, wayne, where do I find that code??! Character Map in Windows??!

    Josh

  9. #9
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Character Map in Windows. In XP it is located in the lower right hand corner..
    Wayne Luke
    ------------



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •