Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2011
    Location
    Lenexa, KS; http://www.timcomp.com
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool UL escapes table help

    I'm having trouble with a stupid Unordered list inside of a table. It keeps placing the bullets outside of the actual table cell how do I stop this.

    here is a snippet of the code
    Code:
    	
                <tr>
    		<td width="152" align="left">
    		<div style"width:152px;">
    		<ul style="padding:0px; margin:0px;">
    		<?php echo links("vert"); ?>
    		</ul>
    		</div>
    		</td>
    	</tr>
    this of course is not all of the code for the page just the most important part. When I remove the padding and margin styles the UL fits properly in the cell but is indented way to far.

  • #2
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,742
    Thanks
    41
    Thanked 191 Times in 190 Posts
    not sure what you are asking... can you screen shot the issue and what it is supposed to look like? are you trying to remove the bullets?
    Code:
    li{list-style:none;}
    ?

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #3
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    I hope you're not using tables for page layouts. Read why thats not a good idea.
    Teed


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •