Solved

Remove extra space before <ul> in straight html

Posted on 2009-04-01
5
1,091 Views
Last Modified: 2012-06-21
Is there a code to add in html to remove the extra space before unorder lists in straight html. I cannot use CSS as these are email blasts
0
Comment
Question by:ursusmaritimus
[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
5 Comments
 
LVL 10

Expert Comment

by:cyberstalker
ID: 24042905
Have you tried inline CSS? <ul style="margin: 0px; padding: 0px">?
0
 

Author Comment

by:ursusmaritimus
ID: 24043086
cyberstalker:

That did not have the desired results: the bullets were removed, flushed to the left and extra space before remains. Other suggestions?
0
 
LVL 13

Accepted Solution

by:
qwerty021600 earned 200 total points
ID: 24046670
This is what you want :
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 
  <tr>
    <td>cxc</td>
    <td>&nbsp;</td>
  </tr>
 <tr>
    <td><ul>
      <li style="list-style: none; margin-left: -40px; ">cvjnv</li>
    </ul></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
0
 
LVL 31

Assisted Solution

by:Wayne Barron
Wayne Barron earned 50 total points
ID: 24047335
ursusmaritimus:
Can you provide an example of your code and the desired effect?

Also, you can have a look here, maybe this will help you as well.
http://www.alistapart.com/articles/taminglists/

Carrzkiss
0
 

Author Closing Comment

by:ursusmaritimus
ID: 31565508
qwert: 200 points for suggesting the table for the bulleted list. That will work (all that extra coding - ick!)
carrzkiss: 50 points for the article reference. Good resource for the future.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

735 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