javascript - Aligning Text in CSS/JS menu -
i'm trying align text in menu at: http://crango.uofydating.com/dir/new2.html
- in 1st tab, want there line break after "item".
- in 2nd , 3rd tab, want there line break after "this is".
i posted part of menu need with, may bit odd. connected javascript code makes more challenging edit. js can't removed.
here solution
i have created fiddle you
use .html() instead of .text()
code:
.html('<strong>' + $(this).find('a').html() + '</strong>')
it works great ;)
check it
fiddle http://jsfiddle.net/krunalp1993/yl6tn/1/
hope helps :)
Comments
Post a Comment