Reply to Re: Getting a table to size correctly.

Your name:

Reply:


Posted by pecan on 05/05/06 00:57

"Domestos" <andy.mak@virgin.netspam> wrote in message
news:VKs6g.3896$5x.3266@newsfe4-win.ntli.net...
> Okay,
>
> Its not somthing I wanted to do but I have decided to use a spacer row
using
> a transparent gif as the first row in my columns. This gives the results
as
> expected... and will do for now unless somebody can come up with a better
> solution or a serious reason why I should not use them... i.e. 'firefox
dies
> because you do this...'
>
> <html>
> <head>
> </head>
> <body>
> <center>
> <table cellspacing="0" cellpadding="0" border="1" height="1">
> <tr>
> <td><img src="spacer.gif" height="1" width="150"></td>
> <td width="100%"><img src="spacer.gif" height="1" width="500"></td>
> <td><img src="spacer.gif" height="1" width="150"></td>
> </tr>
> </table>
> </center>
> </body>
> </html>
>
>

If you just leave the width out of the centre block, then it defaults to the
remainder of the page.

<html>
<head>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="1" height="400" width="100%">
<tr>
<td width="200" >a</td>
<td>b</td>
<td width="200">c</td>
</tr>
</table>
</body>
</html>

Not sure how good it is, but it works.

Catherine

--
==Not nuts, just a little eccentric==
African Bush Tours and Safaris
http://www.africanbush.co.za/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация