twilitegxa Posted September 25, 2008 Share Posted September 25, 2008 Is there a way to get my unordered list to line up with the other unordered list above it? To achieve the look I have, I have to put the second and third UL in a table. Here is a screenshot: And here is part of the code: <div id="main"> <?php include("menu.php"); ?> <h1>Frequently Asked Questions</h1> <h2>Login And Registration Issues</h2> <ul> <li><a href="#1">Why can't I log in?</a></li> <li><a href="#2">Why do I need to register?</a></li> <li><a href="#3">Why do I get logged off automatically when I leave the site?</a></li> <li><a href="#4">I've forgotten my password! Now what do I do?</a></li> </ul> <table><tr><td valign="top"><table><tr><td><h2>Posting Issues</h2> <ul> <li><a href="#5">How do I post a topic in the forum?</a></li> <li><a href="#6">Why can't I access a particular forum?</a></li> </ul></td></tr></table></td><td> <table><tr><td><h2>Formatting And Topic Types</h2> <ul> <li><a href="#7">Can I use HTML in my posts?</a></li> <li><a href="#8">Can I post images in the forum?</a></li> <li><a href="#9">What are Announcements?</a></li> <li><a href="#10">Why are some topics locked?</a></li> </ul></td></tr></table></td></tr></table> <h2>Other General Questions</h2> <ul> <li><a href="#11">Why does this message display when I view your website?</a><br /> <ul> <li><em>To help protect your security, Internet Explorer stopped this site from installing an ActiveX control on your computer. Click here for options.</em></li> </ul></li> <li><a href="#12">Who do I contact to report abuse or harassment?</a></li> </ul> </code] Link to comment https://forums.phpfreaks.com/topic/125717-aligning-ul-within-a-table-to-ul-outside-of-table/ Share on other sites More sharing options...
gerkintrigg Posted October 1, 2008 Share Posted October 1, 2008 I think that this is more to do with your table properties. Try changing the padding to 0 and see if that makes a difference. Link to comment https://forums.phpfreaks.com/topic/125717-aligning-ul-within-a-table-to-ul-outside-of-table/#findComment-654563 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.