标签: html css
我有一个链接密集的网站,当有人使浏览器变小并且链接碰撞右侧的链接低于左侧的链接时,我在右侧和左侧都有链接。当它靠近左边的那个时,我怎样才能让右边的那个停止移动。附件是一个基本的例子。
link
答案 0 :(得分:0)
容器上的min-width将阻止链接换行。基于这个例子:
min-width
#textbox { min-width: 270px; /* adjust to the needed width */ }