开发者

jQuery .toggle() breaking a line

I'm working on http://beta.mobilityhosting.com/services/ and wanting to use jQuery's .toggle() function on the "Learn More..." links. I have it implemented on the first link but when t开发者_Go百科he hidden content is revealed, a line is breaking.

I cannot figure out how to prevent this. I just want all of the content below the link to descend. Thanks in advance for any replies.


Your <p> element takes up the whole line, so all you need to do is change

display: inline-block

I already dynamically edited with Chrome on your site and it brings up the Hide. Good luck!


You have thememodinfo as a paragraph. Can't you make that an span instead?

Also thememodinfo get's style 'display: block' which will cause the next element to got o next line.

Can you make it 'display: inline-block'?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜