Table position Lotus Notes email (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


DaveKstl -> Table position Lotus Notes email (8/1/2005 15:01:18)

I have a table that isd emailed into company wide Lotus Notes. I found LN requires a style sheet in order to display material correctly.

Unfortunately I cannot figure out how to position the table to the top left corner of the email.

Here is my current CSS for my table. It is the only thing on the page.

Can you help with positioning?

<style>
table
{
font: 11px Verdana,Arial,Helvetica,sans-serif;
font-weight: normal;
border-color: #C0C0C0;
border-collapse: collapse;
border-style: solid;
border-width: 1px;
}
</style>




Donkey -> RE: Table position Lotus Notes email (8/2/2005 10:01:02)

This should work:

<style>
table{
position:relative;
top: 0;
left: 0;
font: 11px Verdana,Arial,Helvetica,sans-serif;
font-weight: normal;
border-color: #C0C0C0;
border-collapse: collapse;
border-style: solid;
border-width: 1px;
}
</style>


This will bring the table right into the corner, if you want to offset it slightly just change the top & left values to a pixel or percentage value.

It will also work if you change position: relative; to position:absolute;.




DaveKstl -> RE: Table position Lotus Notes email (8/2/2005 11:23:28)

Thanks

That did the trick.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.152344E-02