Solved

Bullets line up - website builder

Posted on 2008-06-16
3
167 Views
Last Modified: 2010-04-25
Hi,

For some reason, my seond line of bullets doesn't line up, please see below:

.Test Test Test Test Test Test Test
Test Test Test Test Test Test Test Test
.Test Test Test Test Test Test Test
Test Test Test Test Test Test Test Test

How can I modify my codes to show as the follow:

.Test Test Test Test Test Test Test
  Test Test Test Teset Test Test Test
. Test Test Test Test Test Test Test
  Test Test Test Test Test Test Test

I am using the css style and below is the line codes:

.nav ul {
text-align:left;
list-style-type:none;
display:block;
margin:10px;
padding:0;
}

Thanks in advance

Regards
0
Comment
Question by:rowfei
  • 2
3 Comments
 
LVL 12

Expert Comment

by:nexusnation
ID: 21800354
Um, you're using:

list-style-type:none;

So how are you creating your bullets? • ??

Let's say you *didn't* have list-style-type as none.  Then, you could set list-style-position to inside (what you have) or outside (what you want).
0
 

Author Comment

by:rowfei
ID: 21837803
I just use the <li>, please see codes below:

      <p>
                                                            <li>
                                                            <font face="Verdana" style="font-size: 8pt">Test Test Test </font>.</font></li></div>
                                                      <div class="spase">
                                                            <li>
                                                            <font face="Verdana" style="font-size: 8pt">Customers: </li>
                                                            Test Test Test</font></font><ul>
                                                                  <li></li>
                                                            </ul>

Thanks
0
 
LVL 12

Accepted Solution

by:
nexusnation earned 500 total points
ID: 21838579
Use this:

ul {
list-style square outside;
margin:10px;
padding:0;
}

<ul>
  <li>Test test test.</li>
  <li>Test test test.</li>
  <li>Test test test.</li>
  <li>Test test test.</li>
</ul>
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now