At 1/31/2007 03:39 PM, Jason Bayly wrote:
Thanks that works a treat across both major browsers.. Following on from this, is there a way (that u can think of) that would prevent the icon becoming an orphan on a new line? It would visually look better if when wrapping to a new line that the icon forced the last word to be wrapped with it and not end all be its lonesome on the new line.

http://www.newgency.com/test/css_temp.htm


You could always enclose the last word of the link text and the icon (regardless of which markup is used to tie in the icon) together in a span with {white-space: nowrap;}.

Again this is markup added expressly for the purpose of a particular presentation, but at least it's semantically inert.

Paul


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to