0

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

Attachments 00000315.png 56.4 KB
4
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by sagive
0

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>
0

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" />
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.