From: Raymond I. <xw...@ya...> - 2003-03-26 23:46:50
|
Hi Everyone, From Dougs ScrollBar I've learnt an easy way to create cool looking 3D borders: Up State : <table border="0" bgcolor="#EFEBD7" cellpadding=0 cellspacing=0 ><tr><td> <table width=100 height=100 cellpadding=0 cellspacing=0 border=1><td></td></table> </td></tr></table> Down/Depressed State: <table border="0" bgcolor="#EFEBD7" cellpadding=0 cellspacing=0 ><tr><td> <table width=100 height=100 cellpadding=0 cellspacing=0 border=1><td> </td></table> </td></tr></table> It works in all browsers. The trick is not to have anything between <td></td> for up state, and for down state just add a between inside the <td> </td>. A transparent image should work better than the <img style="display:block" width="1" height="1" src="pixel.gif" /> You can even change the light and dark colors for ie/dom browsers. for example: bordercolorlight="#FFFF00" bordercolordark="#808000" -- Raymond Irving __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com |