scm0sml
asked on
getting rid of the gap above <ul>
can sum1 help?
i have a title - remember, then on the next line start my <ul>
the ul seems to have a default top margin or something as there is a gap there........
how can i get rid of this?
i have a title - remember, then on the next line start my <ul>
the ul seems to have a default top margin or something as there is a gap there........
how can i get rid of this?
Odd UL doesent normally have any white space above it what does the source look like?
ASKER
<tr>
<td>
<b><u><i>Remember</i></u>< /b><ul>
<li><b><i>Pre Book your Ski / Snowboard Hire, Lift Pass & Lessons</i></b></li>
and then obviously other <li>'s then close the </td>
<td>
<b><u><i>Remember</i></u><
<li><b><i>Pre Book your Ski / Snowboard Hire, Lift Pass & Lessons</i></b></li>
and then obviously other <li>'s then close the </td>
You may want to consider using tables and rows.. This allows you to size accordingly with spacers.
The <ul> tag doesn't allow any formatting in size.
if there is a space above, then check for <p><br> or any "whitespace" in your hard code.
The <ul> tag doesn't allow any formatting in size.
if there is a space above, then check for <p><br> or any "whitespace" in your hard code.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What you need is
<tr>
<td>
<b><u><i>Remember</i></u>< /b>
<ul style="margin-top: 0px">
<li><b><i>Pre Book your Ski / Snowboard Hire, Lift Pass & Lessons</i></b></li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
</td>
<tr>
<td>
<b><u><i>Remember</i></u><
<ul style="margin-top: 0px">
<li><b><i>Pre Book your Ski / Snowboard Hire, Lift Pass & Lessons</i></b></li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
</td>
ASKER
yes!! very good thatnks dreammaster
Glad to have helped scm0sml :)
Regards,
Max.
Regards,
Max.