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]
|