Hartley Posted August 3, 2007 Share Posted August 3, 2007 I was wondering if it was possible with current scripting to force table width into, say, increments of 4. If you have text that can stretch a table, the widths could go like: 100, 104, 108, 112, etc. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/63201-force-width-into-increments/ Share on other sites More sharing options...
Barand Posted August 3, 2007 Share Posted August 3, 2007 $width = 100 + $i * 4; vary the value of $i Quote Link to comment https://forums.phpfreaks.com/topic/63201-force-width-into-increments/#findComment-315017 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.