hv3 and CSS min-width attribute

16 views
Skip to first unread message

jemptymethod

unread,
Jul 26, 2010, 6:40:14 AM7/26/10
to tkhtml3
The CSS min-width attribute is not working for the td's on the
following page:

http://deskml.nfshost.com/dwpress/chess_ebook_proto/page2.htm

Note the one column that is barely showing as there are no chess piece
images in any of the squares. It does however render properly in FF
or Chrome (on Windows).

I'm setting the min-width in Javascript as follows. I'd also tried
with css via a class with the same result: works in FF and Chrome but
not hv3:

td.style.minWidth = this.opts['squareSize'];

Not sure if it's min-width in general or just in the context of a td?
Grepping the source code as follows seems to suggest min-width is
supported in some way by hv3:

$ find ./platform | xargs grep -n 'min-width'
./platform/dxcore.vfs/hv3/hv3_bookmarks.tcl:1021: min-width:
20ex;
Binary file ./platform/dxcore.vfs/lib/libTkhtml3.dll matches

jemptymethod

unread,
Jul 26, 2010, 6:45:46 AM7/26/10
to tkhtml3
ps....you will need to "enable ecmascript" to get the full effect
Reply all
Reply to author
Forward
0 new messages