AndyL
05-15-2003, 09:55 AM
Hello,
I am using HTML generated buttons [for ease] and have tailored their text/background colour, width & height. The buttons in question appear in a 'navigational' frame down the left-hand side of the screen and I have defined a constant button width. I can amend the height [& width] of the buttons but so far cannot get 'longish' text in the buttons to wrap to fit the button - it just 'disappears' off the button. Therefore, is it possible to wrap text in HTML generated buttons?
Code to follow:
===============================================
<INPUT TYPE=button STYLE="width:8em; height:4em; background=#444488; color:#FFFFFF" TITLE="Home Page" VALUE="Exceedingly Long Text Value Which I Want To Wrap"
onMouseOver="window.status='Home Page'; return true"
onMouseOut="window.status=''; return true"
onClick="parent.mainarea.location.href='mainarea.php'; return false">
===============================================
Many thanks,
Andy
I am using HTML generated buttons [for ease] and have tailored their text/background colour, width & height. The buttons in question appear in a 'navigational' frame down the left-hand side of the screen and I have defined a constant button width. I can amend the height [& width] of the buttons but so far cannot get 'longish' text in the buttons to wrap to fit the button - it just 'disappears' off the button. Therefore, is it possible to wrap text in HTML generated buttons?
Code to follow:
===============================================
<INPUT TYPE=button STYLE="width:8em; height:4em; background=#444488; color:#FFFFFF" TITLE="Home Page" VALUE="Exceedingly Long Text Value Which I Want To Wrap"
onMouseOver="window.status='Home Page'; return true"
onMouseOut="window.status=''; return true"
onClick="parent.mainarea.location.href='mainarea.php'; return false">
===============================================
Many thanks,
Andy