Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在我的网站上成功实现了 jQuery show/hide toddle 。
我希望图像(加减号)位于上方(在其他 div 中)并在下面的相同位置显示所需的切换
看这个屏幕截图
像这样写:
.title h2 span, .title h2 a{ vertical-align:top; }
因为span & a inside.title是inline元素。所以,给vertical-align:top;它。
.title
inline
vertical-align:top;