Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want bullet format for paragraph in css?
  • Example

    Posted
    Comments
    iamvinod34 16-Feb-15 6:53am    
    ok ,how to insert image every paragraph in css
    help me sir

    http://stackoverflow.com/questions/4764156/how-to-add-list-style-type-disc-to-p-tag
     
    Share this answer
     
    Comments
    iamvinod34 16-Feb-15 6:53am    
    ok ,how to insert image every paragraph in css
    help me sir
    I don't know what you are trying to achieve but doing it only through css is a big no no.
    It's just not the way it should be done.
    Nevertheless, I have 2 solutions for your problem and I recommend the first one:

    1. Put the paragraph in a <ul> tag.
    2. Set the paragraph with background that has only the dot at the top left corner.
    3. Find a dot character in a font and add it at the beginning of the paragraph.


    Best of luck.
     
    Share this answer
     
    Comments
    iamvinod34 16-Feb-15 6:54am    
    ok ,how to insert image every paragraph in css
    help me sir
    Use

    XML
    <ul>
        <li>
            <p>
                Paragraph 1
            </p>
        </li>
        <li>
            <p>
                Paragraph 2
            </p>
        </li>
    </ul>
     
    Share this answer
     
    Use the follwoing
    XML
    <ul>
                    <li>
                        <p>
                            Hello World
                        </p>
                    </li>
                    <li>
                        <p>
                            Hello World
                        </p>
                    </li>
                    <li>
                        <p>
                            Hello World
                        </p>
                    </li>
                </ul>
     
    Share this answer
     
    Comments
    iamvinod34 16-Feb-15 6:54am    
    ok ,how to insert image every paragraph in css
    help me sir

    This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



    CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900