Solved

Bullets line up - website builder

Posted on 2008-06-16
3
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

729 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