[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating tables...html



On Sat April 24 2010 15:52:41 Jozsi Vadkan wrote:
> <html><head><meta http-equiv="Content-Type" content="text/html;
> charset=utf-8" />
> <body><style type="text/css">
> a:link, a:visited, a:active { text-decoration: none; }
> a:hover { text-decoration: underline; }
> table.tabletemplate { width: 100%; border-width: 1px; border-style:
> outset; border-color: #000000; }
> </style></head><body><pre>
> test text here1
> test text here2
> <table class="tabletemplate"><tr><td><pre>
> test text here1
> test text here2
> </pre></td></tr></table>
> test text here1
> test text here2
> </pre><body></html>

You've got two different causes of white space there.  Try this:

<html><head><meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<body><style type="text/css">
a:link, a:visited, a:active { text-decoration: none; }
a:hover { text-decoration: underline; }
table.tabletemplate { width: 100%; border-width: 1px; border-style:
outset; border-color: #000000; }
</style></head><body><pre>
test text here1
test text here2
<table class="tabletemplate"><tr><td><pre style="margin-bottom: 0;">
test text here1
test text here2</pre></td></tr></table>test text here1
test text here2
</pre>
<body></html>

--Mike Bird


Reply to: