i need have button text (f.e. "add basket") fluid in width. if button width little show "add basket" must cut "basket" only. did achieve of splitting <span class="text">add basket</span> into 2 parts , reverse order them in dom <span class="text">basket</span><span class="text text-prefix">add to </span> and show them in correct order adding .text{ float: right; } however, text inside button must centered, not work far. here fiddle, i'd appreciate ideas: https://jsfiddle.net/5cavrrhc/ under circumstances, want avoid using js this. solution ok, here go: https://jsfiddle.net/6etabchg/4/ ok, co-worker , found solution works nicely. make button position: relative make wrapper display: flex; flex-wrap: wrap-reverse; justify-content: center; reverse order make both inner spans display: inline-block;flex-shrink: 0; make 1 span should remain or...
i new in codeigniter , trying project in netbeans 8.0. problem is, can't download plugin codeigniter support. shows error "some plugins require plugin php annotation api installed." i checked here solution , got - " http://ellislab.com/forums/viewthread/184716/ " but thing need - " http://alielwafdy.wordpress.com/2012/07/28/codeigniter-support-in-netbeans/ ". this supports netbeans 7.3.1 what should netbeans 8.0. please help i checked this question . of netbeans version - 7 . asking question find if there option in netbeans 8 , so not duplicate still there no direct plugin available though can use auto complete class helps auto complete words. copy php code http://blog.bobbyallen.me/wp-content/uploads/2012/08/netbeans_autocomplete_codeigniter.txt save file codeigniter project’s netbeans folder (in root, in same folder project.properties , project.xml) if have netbeans open you’ll need restart changes take effect!
Comments
Post a Comment