[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

heading for ul tag makes a single line gap

Posted on 2004-09-28
3
Medium Priority
?
1,357 Views
Last Modified: 2012-08-14
I have a bullet pointed list with a heading
For example:

Fruit:
  * Apple
  * Orange
  * Pear

When I code this as:
Fruit:
<ul>
<li>* Apple</li>
<li>* Orange</li>
<li>* Pear</li>
</ul>
it outputs as:

Fruit:

  * Apple
  * Orange
  * Pear


When I code this as:


<ul>Fruit:
<li>* Apple</li>
<li>* Orange</li>
<li>* Pear</li>
</ul>

it outputs as:

     Fruit:
  * Apple
  * Orange
  * Pear

does anyone know what the code would be to output  it as the first example?
0
Comment
Question by:wjdashwood
[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 49

Accepted Solution

by:
Roonaan earned 1400 total points
ID: 12168860
Try:

Fruit:
<ul style="margin-top:0px;">
<li>* Apple</li>
<li>* Orange</li>
<li>* Pear</li>
</ul>

Regards

-r-
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 12168867
Or use the inline executive:

Fruit:
<ul style="display:inline;">
<li>* Apple</li>
<li>* Orange</li>
<li>* Pear</li>
</ul>


-r-
0
 

Author Comment

by:wjdashwood
ID: 12168934
Thanks,
Thats perfect
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to dynamically set the form action using jQuery.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

656 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