|
Posted by Herbert Gerstinger on 11/12/67 11:23
Greg N. wrote:
> Greg N. wrote:
>
>> This is the html:
>> -------------------------------------------------
>> <html>
>> <body>
>> <p>
>> <div style="text-align: center;">
>> <div style="width:298px; margin-left:auto; margin-right:auto;">
>> <img src="http://coolhaus.de/misc/troll1.jpg" alt="My Picture" width=346
>> height=418>
>> <p>
>> Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
>> Class aptent taciti sociosqu ad litora torquent per conubia nostra,
>> per inceptos hymenaeos.
>> </div>
>> </div>
>> </html>
>> ---------------------------------------------------
>
> There is a minor error there, the line
> <div style="width:298px; margin-left:auto; margin-right:auto;">
> should read:
> <div style="width:346px; margin-left:auto; margin-right:auto;">
>
This works, but only when you know the width in advance :-(
Navigation:
[Reply to this message]
|