Dear All,

I have here some problem with my html code. I can't make text aligment in following html code.
How can i solve it?

<TABLE width="500">
<TBODY>
<TR>
<TD><IMG title="" border="0" alt="" align="top" src="img01.jpg" width="150" height="90"></TD>
<TD>
<ul>
   <li>Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.</li>
   <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
   <li>Aliquam tincidunt mauris eu risus.</li>
   <li>Vestibulum auctor dapibus neque.</li>
</ul>

</TD>
</TR>
</TBODY></TABLE>


many thanks in advance.

regards,

saya

inline styles is never a good idea, it should all be controlled through a style sheet. but if you were to do an inline style, try this:

<TD  valign="top" ><IMG title="" border="0" alt="" src="img01.jpg" width="150" height="90"></TD>

i dont understand the question??

if you want to align the the text within th li just add a css style

in page or on a style css like this

<style>
.example {text-align: justify;}  <!--=== for example ===-->
</style>

<ul class="example">
<li>yourcontent</li>
</ul

if your trying to align the img to the top you
you should also use CSS like this

<style>
.myimg {vertical-align: top;}
</style>

<IMG title="" border="0" alt="" align="top" src="img01.jpg" width="150" height="90" class="myimg" />
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.