Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1117
  • Last Modified:

Remove extra space before <ul> in straight html

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
ursusmaritimus
Asked:
ursusmaritimus
2 Solutions
 
cyberstalkerCommented:
Have you tried inline CSS? <ul style="margin: 0px; padding: 0px">?
0
 
ursusmaritimusAuthor Commented:
cyberstalker:

That did not have the desired results: the bullets were removed, flushed to the left and extra space before remains. Other suggestions?
0
 
qwerty021600Commented:
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
 
Wayne BarronCommented:
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
 
ursusmaritimusAuthor Commented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now