T
Trevor L.
BlankThis must have been asked (and answered) so many times but I still can't get it right
I want a page (or part) like this:
___________
| | Text that
| Picture | goes on the
| | right of the picture
|___________| and then flows
underneath it
I have code like this:
style.css
td {vertical-align: top ;}
main.html
.........
<link rel="stylesheet" type="text/css" href="style.css">
..........
<table>
<tr>
<td>
<img src ="images/picture.gif" alt=" ">
Text that goes on the right of the picture and then flows underneath it
</td>
</tr>
.........
What I get is this :
__________
| |
| Picture |
| |
|__________| Text that goes on the right of the picture
and then flows underneath it
Why won't it align to the top?
I tried this
<table>
<tr>
<td>
<img src ="images/picture.gif" alt=" " align="top">
Text that goes on the right of the picture and then flows underneath it
</td>
</tr>
And I got this:
__________
| | Text that goes on the right of the picture
| Picture |
| |
|__________|
and then flows underneath it
Any ideas?
--
Thanks,
Trevor L.
I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
I want a page (or part) like this:
___________
| | Text that
| Picture | goes on the
| | right of the picture
|___________| and then flows
underneath it
I have code like this:
style.css
td {vertical-align: top ;}
main.html
.........
<link rel="stylesheet" type="text/css" href="style.css">
..........
<table>
<tr>
<td>
<img src ="images/picture.gif" alt=" ">
Text that goes on the right of the picture and then flows underneath it
</td>
</tr>
.........
What I get is this :
__________
| |
| Picture |
| |
|__________| Text that goes on the right of the picture
and then flows underneath it
Why won't it align to the top?
I tried this
<table>
<tr>
<td>
<img src ="images/picture.gif" alt=" " align="top">
Text that goes on the right of the picture and then flows underneath it
</td>
</tr>
And I got this:
__________
| | Text that goes on the right of the picture
| Picture |
| |
|__________|
and then flows underneath it
Any ideas?
--
Thanks,
Trevor L.
I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html