Log in

View Full Version : <li> tags



coling
09-30-2010, 05:02 AM
Hi

I am using <li> tags in a table but now my list runs over the page, how do I create a 2nd list beside the 1st , without creating a new <td>.
I use rel="lr" which works fine for the 1st coulmn but I want to have a 2nd column in the same <td> box. Any suggestions please .

traq
09-30-2010, 05:41 AM
You need to give us some context for what you're trying to do. Include your html, or (better yet), give a link to your working page.

coling
09-30-2010, 05:52 AM
http://www.lynetteg.com.au/
As you can see, I have had to create seperate <td>'s for the list in letter A

Using Dynamic Code = <td><center><font size="2"><b>
<a href="index.html" p style="text-align:left" class="anchorclass" rel="submenu1AA[click]" rev="lr">Aa-Ap</a></p>
<div id="submenu1AA" class="anylinkcss" >
<ul>


Thanks

traq
09-30-2010, 02:38 PM
well... I think it's just an issue of having big lists. You could simply put Aa-ap and Ar-az in the same table cell.

<a href="index.html">
<p style="text-align:left" class="anchorclass" rel="submenu1AA[click]" rev="lr">Aa-Ap</p>
</a>
<br>
<a href="index.html">
<p style="text-align:left" class="anchorclass" rel="submenu1AA[click]" rev="lr">Ar-Az</p>
</a>

BTW, you have lots of syntax errors in your html. among other things,

1. Some of your tags aren't closed properly:
<a href="" p style="" ...> needs to be
<a href=""> <p style="" ..>

2. Your tags are improperly nested:
<a><p></a></p> needs to be
<a><p></p></a>

There's lots of other stuff, but those seem the most urgent

coling
09-30-2010, 07:37 PM
Thanks for the reply. I tried your way but I couldn't get it to work but I now see that DynamicDrive have now included code for my enquiry for multiple columns at
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm
I'll try that over the weekend. The lists are big to enable users to view their needs with minimal clicks.
Thanks again