you could try adding clear:none as well. On Wed, May 13, 2009 at 11:42 AM, Jerry Johnson <[email protected]> wrote:
> > I have been beating my head against this for a few hours. > > I have some existing code I need to style properly. I cannot (at this > time) change the html elements, just need to get them working right. > > Trying to add an icon image to the end of a string. In ff and safari, > no problem. In IE without the anchor, no problem. In IE, the image is > treated as a block (line break before and after, putting the image on > its own line) > > <h1><span>TITLE</span> <span><img></span></h1> > > <h1><a><span>TITLE</span> <span><img></span></a></h1> > > Any suggestions (other than rewriting the html) to make the img stay > on the same line? > > I made the image display:inline, and tried a thousand variations of > float and display and every other style. And it works sometimes (about > 1 refresh out of 6 shows it inline as desired. The rest do not. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:297148 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
