实时打字时 CSS 定位有问题吗?

发布于 2024-10-02 10:51:56 字数 276 浏览 0 评论 0原文

我有这个问题,我使用实时预览,当用户打字时,他们可以使用 jquery 看到他们的文本,但是当用户开始打字时,它会与周围的 div 一起播放并开始变得疯狂,我只想整个页面用户输入时保持静态,

页面为 http://www.kornar.co.uk/ customise.php

只需开始在 kornar 标题字段中输入即可!看看会发生什么,

感谢您的支持!

i have this problem, im using live preview, while the user is typing they get to see thier text using jquery, but when the users starts typing it plays up with the divs around and starts to go crazy, i just want the whole page to be static while the user is typing,

the page is http://www.kornar.co.uk/customise.php

just start styping in the kornar Title Field!, and see what happens

thanks for the support!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

淡淡的优雅 2024-10-09 10:51:56

对于 h1.kornarTitle,删除:

float:left;

并替换为:

text-align:left;

For h1.kornarTitle, remove:

float:left;

and replace with:

text-align:left;
落日海湾 2024-10-09 10:51:56

两个选项:

a) 从 h1.kornarTitle 中删除 float:left

b) 添加 clear:left 到 #leftPanel

要了解有关 css float 属性的更多信息,我推荐这个综合教程 http://css.maxdesign.com.au/floatutorial/

Two options:

a) Remove float:left from h1.kornarTitle

or

b) Add clear:left to #leftPanel

To learn more about the css float property I recommend this comprehensive tutorial http://css.maxdesign.com.au/floatutorial/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文