You are here: Re: How to keep a table square... « HTML « IT news, forums, messages
Re: How to keep a table square...

Posted by Jukka K. Korpela on 09/16/07 06:20

Scripsit dorayme:

> What did the author do to go wrong in
>
> http://www.sadmansoftware.com/sudoku/technique6.htm
>
> in respect of maintaining the squareness of the Sudoku table
> under different user font size settings?

I dunno. Does it matter?

> I reckon he should get rid of a real lot of stuff and leave room
> for *something* like:
>
> table {border: 1px solid black;border-collapse:collapse;width:
> 9em;height: 9em;}
>
> td {width:2em; height:2em;border:1px solid
> black;text-align:center;}

Well I think you should also set table-layout: fixed (though this probably
does not matter here) for the table and vertical-align: middle for the
cells. And it might be better to omit the width and height settings for the
table; they are redundant and might even cause some trouble, and they would
make it a little more difficult to modify the layout. Actually, I think
there is some miscalculation, since 3 times 2em makes 6em and not 9em in my
math book.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this 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

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