Solved

Remove extra space before <ul> in straight html

Posted on 2009-04-01
5
1,085 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
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 30

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
CSS alignment question 8 37
CSS/audio questions 2 48
html select on change 3 25
while loop in html mail format 5 32
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

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

12 Experts available now in Live!

Get 1:1 Help Now